Update app.py
Browse files
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 |
|