Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -367,7 +367,7 @@ with gr.Blocks() as demo:
|
|
| 367 |
|
| 368 |
with gr.Row(elem_id="reset_block", visible=True) as reset_block:
|
| 369 |
reset_btn = gr.Button("Reset")
|
| 370 |
-
reset_btn.click(reset_app, inputs=[], outputs=[progress_output,
|
| 371 |
log_output,
|
| 372 |
api_key,
|
| 373 |
topic,
|
|
|
|
| 367 |
|
| 368 |
with gr.Row(elem_id="reset_block", visible=True) as reset_block:
|
| 369 |
reset_btn = gr.Button("Reset")
|
| 370 |
+
reset_btn.click(reset_app, cancels=[submit_btn],inputs=[], outputs=[progress_output,
|
| 371 |
log_output,
|
| 372 |
api_key,
|
| 373 |
topic,
|