charliebaby2023 commited on
Commit
e96189e
Β·
verified Β·
1 Parent(s): f97541a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def make_me():
118
  current_models = [gr.Textbox(m, visible=False) for m in default_models]
119
  for m, o in zip(current_models, output):
120
  gen_event = gen_button.click(gen_fn, [m, txt_input, negative_prompt_input], o, queue = False)
121
- stop_button.click(lambda _: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
122
 
123
 
124
  with gr.Accordion('Model selection'):
 
118
  current_models = [gr.Textbox(m, visible=False) for m in default_models]
119
  for m, o in zip(current_models, output):
120
  gen_event = gen_button.click(gen_fn, [m, txt_input, negative_prompt_input], o, queue = False)
121
+ # stop_button.click(lambda _: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
122
 
123
 
124
  with gr.Accordion('Model selection'):