Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ if prompt := st.chat_input("What is up?"):
|
|
| 76 |
|
| 77 |
# Display assistant response in chat message container
|
| 78 |
with st.chat_message("assistant"):
|
| 79 |
-
response = qa_memory({"question": prompt})
|
| 80 |
st.write(response)
|
| 81 |
# Add assistant response to chat history
|
| 82 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
|
|
|
| 76 |
|
| 77 |
# Display assistant response in chat message container
|
| 78 |
with st.chat_message("assistant"):
|
| 79 |
+
response = qa_memory({"question": prompt})
|
| 80 |
st.write(response)
|
| 81 |
# Add assistant response to chat history
|
| 82 |
st.session_state.messages.append({"role": "assistant", "content": response})
|