Spaces:
Sleeping
Sleeping
Mengmeng Liu
commited on
Commit
·
a930d50
1
Parent(s):
7bd7356
Improve the UI
Browse files
app.py
CHANGED
@@ -8,8 +8,6 @@ from sklearn.metrics.pairwise import cosine_similarity
|
|
8 |
|
9 |
st.title('HRA Document QA')
|
10 |
|
11 |
-
question = st.chat_input("Please ask me some questions about the leadership of HRA:")
|
12 |
-
|
13 |
with st.spinner("Please wait for loading the models"):
|
14 |
model_loader = ModelWrapper()
|
15 |
|
@@ -17,8 +15,9 @@ with st.spinner("Please wait for loading the models"):
|
|
17 |
with st.chat_message("assistant"):
|
18 |
st.write("Hello 👋 I am an HRA chatbot~")
|
19 |
st.write("I know everything about the leadership of HRA.")
|
20 |
-
st.write("Please ask your questions about the leadership of HRA.")
|
21 |
|
|
|
22 |
|
23 |
if question:
|
24 |
with st.chat_message("assistant"):
|
|
|
8 |
|
9 |
st.title('HRA Document QA')
|
10 |
|
|
|
|
|
11 |
with st.spinner("Please wait for loading the models"):
|
12 |
model_loader = ModelWrapper()
|
13 |
|
|
|
15 |
with st.chat_message("assistant"):
|
16 |
st.write("Hello 👋 I am an HRA chatbot~")
|
17 |
st.write("I know everything about the leadership of HRA.")
|
18 |
+
st.write("Please ask your questions about the leadership of HRA. For example, you can ask 'Where did Robert Kauffman graduate?', 'What's the position for Fred Danback?' ")
|
19 |
|
20 |
+
question = st.chat_input("Please ask me some questions about the leadership of HRA:")
|
21 |
|
22 |
if question:
|
23 |
with st.chat_message("assistant"):
|