santuchal commited on
Commit
574ef23
1 Parent(s): 975798a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, doc_source2, source2_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, doc_source2, source2_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, \