Illia56 commited on
Commit
be772b0
·
1 Parent(s): 72dce92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,4 +72,4 @@ if prompt := st.chat_input("Ask Palm 2 anything..."):
72
 
73
 
74
  # Add assistant response to chat history
75
- st.session_state.messages.append({"role": "assistant", "content": response})
 
72
 
73
 
74
  # Add assistant response to chat history
75
+ st.session_state.messages.append({"role": "assistant", "content": response['content']})