2MaxM commited on
Commit
22eb08b
·
verified ·
1 Parent(s): ad9ba71
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ with gr.Blocks(_TITLE) as ShoeGen:
23
  button_gen = gr.Button("Generate Image")
24
  with gr.Column():
25
  # show images
26
- gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[2], height="auto")
27
 
28
 
29
  button_gen.click(generate_image, inputs=[prompt], outputs=gallery)
 
23
  button_gen = gr.Button("Generate Image")
24
  with gr.Column():
25
  # show images
26
+ gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery", show_download_button=True, columns=[2])
27
 
28
 
29
  button_gen.click(generate_image, inputs=[prompt], outputs=gallery)