abanm commited on
Commit
0a37a52
·
verified ·
1 Parent(s): e568f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,5 +85,5 @@ if prompt := st.chat_input():
85
  assistant_message_placeholder.write_stream(response_stream)
86
 
87
  # Append the final assistant's response to the chat history
88
- st.session_state["messages"].append({"role": "assistant", "content": bot_response})
89
 
 
85
  assistant_message_placeholder.write_stream(response_stream)
86
 
87
  # Append the final assistant's response to the chat history
88
+ st.session_state["messages"].append({"role": "assistant", "content": response_stream})
89