Spaces:
Sleeping
Sleeping
Mr-Vicky-01
commited on
Commit
•
4f21523
1
Parent(s):
56619bc
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,8 @@ if user_prompt and uploaded_file:
|
|
106 |
# Trigger assistant's response retrieval and update UI
|
107 |
with st.spinner("Assistant is typing..."):
|
108 |
response = handle_query(user_prompt)
|
109 |
-
st.
|
|
|
110 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|
111 |
|
112 |
|
|
|
106 |
# Trigger assistant's response retrieval and update UI
|
107 |
with st.spinner("Assistant is typing..."):
|
108 |
response = handle_query(user_prompt)
|
109 |
+
with st.chat_message("user", avatar="👽"):
|
110 |
+
st.write(response)
|
111 |
st.session_state.messages.append({'role': 'assistant', "content": response})
|
112 |
|
113 |
|