Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,6 +82,7 @@ if pdf_file is not None:
|
|
| 82 |
if question:
|
| 83 |
with st.chat_message("user"):
|
| 84 |
st.markdown(question)
|
|
|
|
| 85 |
with st.chat_message("assistant"):
|
| 86 |
res = chain({"question": question})
|
| 87 |
answer = res["answer"]
|
|
|
|
| 82 |
if question:
|
| 83 |
with st.chat_message("user"):
|
| 84 |
st.markdown(question)
|
| 85 |
+
|
| 86 |
with st.chat_message("assistant"):
|
| 87 |
res = chain({"question": question})
|
| 88 |
answer = res["answer"]
|