Spaces:
Runtime error
Runtime error
Commit
•
a5d6670
1
Parent(s):
0992338
Update app.py
Browse files
app.py
CHANGED
@@ -59,4 +59,4 @@ if prompt := st.chat_input("Ask me anything.."):
|
|
59 |
st.session_state.memory.save_context({"question":prompt}, {"output":full_response})
|
60 |
st.session_state.memory.chat_memory.messages = st.session_state.memory.chat_memory.messages[-15:]
|
61 |
# Add assistant response to chat history
|
62 |
-
st.session_state.messages.append({"role": "assistant", "content":
|
|
|
59 |
st.session_state.memory.save_context({"question":prompt}, {"output":full_response})
|
60 |
st.session_state.memory.chat_memory.messages = st.session_state.memory.chat_memory.messages[-15:]
|
61 |
# Add assistant response to chat history
|
62 |
+
st.session_state.messages.append({"role": "assistant", "content": full_response})
|