Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ if user_prompt and uploaded_file:
|
|
116 |
|
117 |
# Generate a new response if last message is not from assistant
|
118 |
if st.session_state.messages[-1]["role"] != "assistant":
|
119 |
-
with st.chat_message("assistant",avatar="./assistant.jpeg"):
|
120 |
response = handle_query(user_prompt)
|
121 |
full_response = st.write_stream(response)
|
122 |
message = {"role": "assistant", "content": full_response}
|
|
|
116 |
|
117 |
# Generate a new response if last message is not from assistant
|
118 |
if st.session_state.messages[-1]["role"] != "assistant":
|
119 |
+
with st.chat_message("assistant",avatar="./chat-assistant.jpeg"):
|
120 |
response = handle_query(user_prompt)
|
121 |
full_response = st.write_stream(response)
|
122 |
message = {"role": "assistant", "content": full_response}
|