Spaces:
Sleeping
Sleeping
Mr-Vicky-01
commited on
Commit
•
11114b2
1
Parent(s):
5454d65
Update app.py
Browse files
app.py
CHANGED
@@ -109,6 +109,6 @@ if user_prompt and uploaded_file:
|
|
109 |
if st.session_state.messages[-1]["role"] != "assistant":
|
110 |
with st.chat_message("assistant"):
|
111 |
response = handle_query(user_prompt)
|
112 |
-
full_response = st.
|
113 |
message = {"role": "assistant", "content": full_response}
|
114 |
st.session_state.messages.append(message)
|
|
|
109 |
if st.session_state.messages[-1]["role"] != "assistant":
|
110 |
with st.chat_message("assistant"):
|
111 |
response = handle_query(user_prompt)
|
112 |
+
full_response = st.write(response)
|
113 |
message = {"role": "assistant", "content": full_response}
|
114 |
st.session_state.messages.append(message)
|