Update app.py
Browse files
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']})
|