Omnibus commited on
Commit
a6c1bac
1 Parent(s): 3e1a621

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -296,8 +296,8 @@ with gr.Blocks() as app:
296
  sum_out_box=gr.JSON(label="Summaries")
297
  hist_out_box=gr.JSON(label="History")
298
 
299
- sub_b = submit_b.click(generate, [msg,chatbot],[msg,chatbot,sumbox,sum_out_box,hist_out_box])
300
- sub_e = msg.submit(generate, [msg, chatbot], [msg, chatbot,sumbox,sum_out_box,hist_out_box])
301
  stop_b.click(None,None,None, cancels=[sub_b,sub_e])
302
 
303
 
 
296
  sum_out_box=gr.JSON(label="Summaries")
297
  hist_out_box=gr.JSON(label="History")
298
 
299
+ sub_b = submit_b.click(generate, [msg,chatbot],[msg,chatbot,sumbox,sum_out_box,hist_out_box,html])
300
+ sub_e = msg.submit(generate, [msg, chatbot], [msg, chatbot,sumbox,sum_out_box,hist_out_box,html])
301
  stop_b.click(None,None,None, cancels=[sub_b,sub_e])
302
 
303