Spaces:
Sleeping
Sleeping
karthikeyan-r
commited on
Commit
•
be39a5f
1
Parent(s):
3ba303e
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ if question := st.chat_input("What is up?"):
|
|
81 |
if docqa is None:
|
82 |
with st.chat_message("assistant"):
|
83 |
st.markdown("Please upload a PDF file first.")
|
84 |
-
st.session_state.messages.append({"role": "assistant", "content": "Please upload a PDF file first
|
85 |
st.stop()
|
86 |
# Display assistant response in chat message container
|
87 |
with st.chat_message("assistant"):
|
|
|
81 |
if docqa is None:
|
82 |
with st.chat_message("assistant"):
|
83 |
st.markdown("Please upload a PDF file first.")
|
84 |
+
st.session_state.messages.append({"role": "assistant", "content": "Please upload a PDF file first!"})
|
85 |
st.stop()
|
86 |
# Display assistant response in chat message container
|
87 |
with st.chat_message("assistant"):
|