Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
|
|
42 |
num_steps = gr.Slider(label="Inference Steps",value=50)
|
43 |
run = gr.Button(value="Run")
|
44 |
with gr.Column():
|
45 |
-
gallery = gr.Gallery(
|
46 |
|
47 |
run.click(generate_images, inputs=[prompt,negative_prompt, samples, num_steps], outputs=gallery)
|
48 |
|
|
|
42 |
num_steps = gr.Slider(label="Inference Steps",value=50)
|
43 |
run = gr.Button(value="Run")
|
44 |
with gr.Column():
|
45 |
+
gallery = gr.Gallery(label="Outputs").style(grid=(1,2))
|
46 |
|
47 |
run.click(generate_images, inputs=[prompt,negative_prompt, samples, num_steps], outputs=gallery)
|
48 |
|