Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -333,7 +333,7 @@ chat_container = st.container()
|
|
333 |
with chat_container:
|
334 |
# Display chat history
|
335 |
for message in st.session_state.messages:
|
336 |
-
with st.chat_message(message["role"], avatar="π€" if message["role"] == "user" else
|
337 |
st.markdown(message["content"])
|
338 |
|
339 |
with st.form(key='query_form', clear_on_submit=True):
|
@@ -373,7 +373,7 @@ if submit_button and query:
|
|
373 |
st.markdown(query)
|
374 |
|
375 |
# Show typing indicator while generating response "πΏ"
|
376 |
-
with st.chat_message("assistant", avatar=
|
377 |
with st.status("Analyzing your query...", expanded=True):
|
378 |
st.write("π Retrieving relevant information...")
|
379 |
st.write("π Generating personalized response...")
|
|
|
333 |
with chat_container:
|
334 |
# Display chat history
|
335 |
for message in st.session_state.messages:
|
336 |
+
with st.chat_message(message["role"], avatar="π€" if message["role"] == "user" else "π©ββοΈ"):
|
337 |
st.markdown(message["content"])
|
338 |
|
339 |
with st.form(key='query_form', clear_on_submit=True):
|
|
|
373 |
st.markdown(query)
|
374 |
|
375 |
# Show typing indicator while generating response "πΏ"
|
376 |
+
with st.chat_message("assistant", avatar="π©ββοΈ"):
|
377 |
with st.status("Analyzing your query...", expanded=True):
|
378 |
st.write("π Retrieving relevant information...")
|
379 |
st.write("π Generating personalized response...")
|