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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -82,7 +82,10 @@ 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', object_fit="scale-down")
 
 
 
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',
86
+ columns=4,
87
+ rows=1,
88
+ height=256, object_fit="scale-down")
89
  button.click(demo_infer, inputs=[
90
  guidance_scale, randomize_temperature, num_sample_steps,
91
  i1k_class, seed],