Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def make_me():
|
|
| 60 |
""")
|
| 61 |
with gr.Row():
|
| 62 |
output = [gr.Image(label=m, min_width=280) for m in default_models]
|
| 63 |
-
current_models = [gr.Textbox(m, visible=
|
| 64 |
for m, o in zip(current_models, output):
|
| 65 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
| 66 |
stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|
|
|
|
| 60 |
""")
|
| 61 |
with gr.Row():
|
| 62 |
output = [gr.Image(label=m, min_width=280) for m in default_models]
|
| 63 |
+
current_models = [gr.Textbox(m, visible=True) for m in default_models]
|
| 64 |
for m, o in zip(current_models, output):
|
| 65 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
| 66 |
stop_button.click(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|