Jonny001 commited on
Commit
3283923
·
verified ·
1 Parent(s): d19a4a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -61,7 +61,7 @@ def all_task_start():
61
  def clear_fn():
62
  nn = len(models)
63
  return tuple([None, *[None for _ in range(nn)]])
64
-
65
  with gr.Blocks(title="SD Models") as my_interface:
66
  with gr.Column():
67
  with gr.Row():
@@ -91,8 +91,7 @@ with gr.Blocks(title="SD Models") as my_interface:
91
  all_task_end,
92
  [start_box, end_box],
93
  [start_box, tog_box],
94
- every=1,
95
- show_progress=True)
96
 
97
  primary_prompt.submit(all_task_start, None, [start_box, end_box, tog_box])
98
  run.click(all_task_start, None, [start_box, end_box, tog_box])
 
61
  def clear_fn():
62
  nn = len(models)
63
  return tuple([None, *[None for _ in range(nn)]])
64
+
65
  with gr.Blocks(title="SD Models") as my_interface:
66
  with gr.Column():
67
  with gr.Row():
 
91
  all_task_end,
92
  [start_box, end_box],
93
  [start_box, tog_box],
94
+ show_progress=True) # Removed 'every=1'
 
95
 
96
  primary_prompt.submit(all_task_start, None, [start_box, end_box, tog_box])
97
  run.click(all_task_start, None, [start_box, end_box, tog_box])