VyLala commited on
Commit
7545752
·
verified ·
1 Parent(s): 4ed9bfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = False # Reset the stop flag
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