Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def make_me():
|
|
62 |
|
63 |
with gr.Row():
|
64 |
output = [gr.Image(label=m, min_width=250, height=250, elem_id="custom_image") for m in default_models]
|
65 |
-
current_models = [gr.Textbox(m, visible=False) for m in default_models]
|
66 |
for m, o in zip(current_models, output):
|
67 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
68 |
stop_button.click(on_stop_click, inputs=None, outputs=[gen_button, stop_button], cancels=[gen_event])
|
|
|
62 |
|
63 |
with gr.Row():
|
64 |
output = [gr.Image(label=m, min_width=250, height=250, elem_id="custom_image") for m in default_models]
|
65 |
+
current_models = [gr.Textbox(m, visible=False) for m in default_models]
|
66 |
for m, o in zip(current_models, output):
|
67 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
68 |
stop_button.click(on_stop_click, inputs=None, outputs=[gen_button, stop_button], cancels=[gen_event])
|