Update app.py
Browse files
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 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
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 |
|