Siddartha10 commited on
Commit
028bfff
1 Parent(s): 9a8a65f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(chain.invoke(prompt)['result'])
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)