Spaces:
Runtime error
Runtime error
ehristoforu
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -67,8 +67,8 @@ with gr.Blocks(css=css) as demo:
|
|
67 |
with gr.Row():
|
68 |
width = gr.Slider(label="Width", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
|
69 |
height = gr.Slider(label="Height", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
|
70 |
-
with gr.Row()
|
71 |
-
gallery = gr.Gallery(show_label=False, rows=1, columns=1)
|
72 |
|
73 |
button.click(gen, inputs=[prompt, negative, width, height], outputs=gallery)
|
74 |
|
|
|
67 |
with gr.Row():
|
68 |
width = gr.Slider(label="Width", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
|
69 |
height = gr.Slider(label="Height", minimum=1024, maximum=2048, step=8, value=1024, interactive=True)
|
70 |
+
with gr.Row():
|
71 |
+
gallery = gr.Gallery(show_label=False, rows=1, columns=1, allow_preview=True, preview=True)
|
72 |
|
73 |
button.click(gen, inputs=[prompt, negative, width, height], outputs=gallery)
|
74 |
|