Spaces:
Running
on
Zero
Running
on
Zero
yucornetto
commited on
Commit
•
edfdd85
1
Parent(s):
410e11f
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks() as demo:
|
|
82 |
seed = gr.Slider(minimum=0, maximum=1000, step=1, value=42, label='Seed')
|
83 |
button = gr.Button("Generate", variant="primary")
|
84 |
with gr.Column():
|
85 |
-
output = gr.Gallery(label='Generated Images', height=256,
|
86 |
button.click(demo_infer, inputs=[
|
87 |
guidance_scale, randomize_temperature, num_sample_steps,
|
88 |
i1k_class, seed],
|
|
|
82 |
seed = gr.Slider(minimum=0, maximum=1000, step=1, value=42, label='Seed')
|
83 |
button = gr.Button("Generate", variant="primary")
|
84 |
with gr.Column():
|
85 |
+
output = gr.Gallery(label='Generated Images', height=256, object_fit="contain")
|
86 |
button.click(demo_infer, inputs=[
|
87 |
guidance_scale, randomize_temperature, num_sample_steps,
|
88 |
i1k_class, seed],
|