Spaces:
Sleeping
Sleeping
Siddartha10
commited on
Commit
•
028bfff
1
Parent(s):
9a8a65f
Update app.py
Browse files
app.py
CHANGED
@@ -109,6 +109,6 @@ if prompt := st.chat_input("How can I help?"):
|
|
109 |
with st.chat_message("assistant", avatar=BOT_AVATAR):
|
110 |
message_placeholder = st.empty()
|
111 |
full_response = chain.invoke(prompt)['result']
|
112 |
-
message_placeholder.markdown(
|
113 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
114 |
save_chat_history(st.session_state.messages)
|
|
|
109 |
with st.chat_message("assistant", avatar=BOT_AVATAR):
|
110 |
message_placeholder = st.empty()
|
111 |
full_response = chain.invoke(prompt)['result']
|
112 |
+
message_placeholder.markdown(full_response)
|
113 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
114 |
save_chat_history(st.session_state.messages)
|