Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -662,7 +662,7 @@ with gr.Blocks() as interface:
|
|
662 |
# gr.update(value="", visible=False), # progress_box
|
663 |
# )
|
664 |
def reset_fields():
|
665 |
-
global_stop_flag.value =
|
666 |
|
667 |
return (
|
668 |
gr.update(value=""), # raw_text
|
|
|
662 |
# gr.update(value="", visible=False), # progress_box
|
663 |
# )
|
664 |
def reset_fields():
|
665 |
+
global_stop_flag.value = True # Reset the stop flag
|
666 |
|
667 |
return (
|
668 |
gr.update(value=""), # raw_text
|