Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -295,11 +295,11 @@ def demo():
|
|
295 |
# Chatbot events
|
296 |
msg.submit(conversation, \
|
297 |
inputs=[qa_chain, msg, chatbot], \
|
298 |
-
outputs=[qa_chain, msg, chatbot, doc_source1, source1_page
|
299 |
queue=False)
|
300 |
submit_btn.click(conversation, \
|
301 |
inputs=[qa_chain, msg, chatbot], \
|
302 |
-
outputs=[qa_chain, msg, chatbot, doc_source1, source1_page
|
303 |
queue=False)
|
304 |
clear_btn.click(lambda:[None,"",0,"",0], \
|
305 |
inputs=None, \
|
|
|
295 |
# Chatbot events
|
296 |
msg.submit(conversation, \
|
297 |
inputs=[qa_chain, msg, chatbot], \
|
298 |
+
outputs=[qa_chain, msg, chatbot, doc_source1, source1_page], \
|
299 |
queue=False)
|
300 |
submit_btn.click(conversation, \
|
301 |
inputs=[qa_chain, msg, chatbot], \
|
302 |
+
outputs=[qa_chain, msg, chatbot, doc_source1, source1_page], \
|
303 |
queue=False)
|
304 |
clear_btn.click(lambda:[None,"",0,"",0], \
|
305 |
inputs=None, \
|