MilanM commited on
Commit
0207b81
·
verified ·
1 Parent(s): 3ba4c57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -137,7 +137,7 @@ def chat_interface():
137
  response = st.write_stream(stream)
138
 
139
  # Add AI response to chat history
140
- st.session_state.chat_history.append({"role": "Jimmy", "content": response)
141
 
142
  def main():
143
  initialize_session_state()
 
137
  response = st.write_stream(stream)
138
 
139
  # Add AI response to chat history
140
+ st.session_state.chat_history.append({"role": "Jimmy", "content": response})
141
 
142
  def main():
143
  initialize_session_state()