Update app.py
Browse files
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 |
-
|
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'):
|