Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ if user_prompt:
|
|
100 |
if st.session_state.messages[-1]["role"] != "assistant":
|
101 |
with st.chat_message("assistant"):
|
102 |
with st.spinner("Thinking..."):
|
103 |
-
|
104 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|
105 |
|
106 |
# for message in st.session_state.messages:
|
|
|
100 |
if st.session_state.messages[-1]["role"] != "assistant":
|
101 |
with st.chat_message("assistant"):
|
102 |
with st.spinner("Thinking..."):
|
103 |
+
st.write(response)
|
104 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|
105 |
|
106 |
# for message in st.session_state.messages:
|