bupa1018 commited on
Commit
4dfa5d2
·
1 Parent(s): 9973013

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -280,12 +280,12 @@ def main():
280
  examples_per_page=3,
281
  )
282
 
283
- # with gr.Column(scale=3):
284
- # with gr.Tab("References"):
285
- # doc_citation = gr.HTML("<p>References used in answering the question will be displayed below.</p>")
286
 
287
- user_txt.submit(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot, doc_citation])
288
- submit_btn.click(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot, doc_citation])
289
  clear_btn.click(lambda: None, None, chatbot, queue=False)
290
 
291
  demo.launch()
 
280
  examples_per_page=3,
281
  )
282
 
283
+ # with gr.Column(scale=3):
284
+ # with gr.Tab("References"):
285
+ # doc_citation = gr.HTML("<p>References used in answering the question will be displayed below.</p>")
286
 
287
+ user_txt.submit(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot])
288
+ submit_btn.click(check_input_text, user_txt, None).success(add_text, [chatbot, user_txt], [chatbot, user_txt]).then(bot_kadi, [chatbot], [chatbot])
289
  clear_btn.click(lambda: None, None, chatbot, queue=False)
290
 
291
  demo.launch()