Spaces:
Runtime error
Runtime error
charliebaby2023
commited on
Commit
•
0b760cf
1
Parent(s):
75447ba
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ def make_me():
|
|
61 |
# </div>
|
62 |
#""")
|
63 |
with gr.Row():
|
64 |
-
output = [gr.Image(label=m, min_width=
|
65 |
-
current_models = [gr.Textbox(m, visible=
|
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(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|
|
|
61 |
# </div>
|
62 |
#""")
|
63 |
with gr.Row():
|
64 |
+
output = [gr.Image(label=m, min_width=140, height=140) 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(lambda s: gr.update(interactive=False), None, stop_button, cancels=[gen_event])
|