Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,18 @@ with gr.Blocks() as demo:
|
|
48 |
gen_button = gr.Button('Generate')
|
49 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
50 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
with gr.Row():
|
53 |
output = [gr.Image(label = m, min_width=480) for m in default_models]
|
54 |
current_models = [gr.Textbox(m, visible = False) for m in default_models]
|
|
|
48 |
gen_button = gr.Button('Generate')
|
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 |
+
"""
|
53 |
+
<div style="text-align: center; max-width: 1200px; margin: 0 auto;">
|
54 |
+
<div>
|
55 |
+
<body>
|
56 |
+
<div class="center"><p style="margin-bottom: 10px; color: #000000;">Scroll down to see more images and select models.</p>
|
57 |
+
</div>
|
58 |
+
</body>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
"""
|
62 |
+
)
|
63 |
with gr.Row():
|
64 |
output = [gr.Image(label = m, min_width=480) for m in default_models]
|
65 |
current_models = [gr.Textbox(m, visible = False) for m in default_models]
|