vishwask commited on
Commit
24f068c
1 Parent(s): 6209374

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -216,11 +216,11 @@ if prompt := st.chat_input("How can I help you today?"):
216
  # #yield word + " "
217
  # time.sleep(0.1)
218
 
219
- # for item in output:
220
- # full_response += item
221
- # message_placeholder.markdown(full_response + "▌")
222
- # message_placeholder.markdown(full_response)
223
- # # message_placeholder.markdown(result['source_documents'])
224
 
225
  #stream_example()
226
 
 
216
  # #yield word + " "
217
  # time.sleep(0.1)
218
 
219
+ for item in output:
220
+ full_response += item
221
+ message_placeholder.markdown(full_response + "▌")
222
+ message_placeholder.markdown(full_response)
223
+ # message_placeholder.markdown(result['source_documents'])
224
 
225
  #stream_example()
226