ofermend commited on
Commit
e7d3d25
1 Parent(s): 4ddae41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -80,9 +80,9 @@ def launch_bot():
80
  else:
81
  with st.spinner("Thinking..."):
82
  response = generate_response(prompt)
83
- st.write(response)
84
- #message = {"role": "assistant", "content": response}
85
- #st.session_state.messages.append(message)
86
 
87
  if __name__ == "__main__":
88
  launch_bot()
 
80
  else:
81
  with st.spinner("Thinking..."):
82
  response = generate_response(prompt)
83
+ #st.write(response)
84
+ message = {"role": "assistant", "content": response}
85
+ st.session_state.messages.append(message)
86
 
87
  if __name__ == "__main__":
88
  launch_bot()