Spaces:
Runtime error
Runtime error
charliebaby2023
commited on
Commit
•
84ab6b6
1
Parent(s):
b5aa7da
Update app.py
Browse files
app.py
CHANGED
@@ -49,17 +49,15 @@ def make_me():
|
|
49 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False)
|
50 |
gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)
|
51 |
gr.HTML("""
|
52 |
-
<div style="text-align: center; max-width:
|
53 |
-
|
54 |
<body>
|
55 |
-
<div class="center"><p style="margin-bottom: 10px; color: #ffffff;">Scroll down to see more images and select models.</p>
|
56 |
-
</div>
|
57 |
</body>
|
58 |
-
</div
|
59 |
</div>
|
60 |
""")
|
61 |
with gr.Row():
|
62 |
-
output = [gr.Image(label=m, min_width=
|
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)
|
|
|
49 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False)
|
50 |
gen_button.click(lambda s: gr.update(interactive=True), None, stop_button)
|
51 |
gr.HTML("""
|
52 |
+
<div style="text-align: center; max-width: 100%; margin: 0 auto;">
|
53 |
+
<!--div>
|
54 |
<body>
|
|
|
|
|
55 |
</body>
|
56 |
+
</div-->
|
57 |
</div>
|
58 |
""")
|
59 |
with gr.Row():
|
60 |
+
output = [gr.Image(label=m, min_width=250) for m in default_models]
|
61 |
current_models = [gr.Textbox(m, visible=True) for m in default_models]
|
62 |
for m, o in zip(current_models, output):
|
63 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|