yucornetto commited on
Commit
ec10f95
1 Parent(s): edfdd85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, object_fit="contain")
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', object_fit="scale-down")
86
  button.click(demo_infer, inputs=[
87
  guidance_scale, randomize_temperature, num_sample_steps,
88
  i1k_class, seed],