MaxMilan1 commited on
Commit
ad9ba71
·
1 Parent(s): 7d79b00
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -23,8 +23,9 @@ with gr.Blocks(_TITLE) as ShoeGen:
23
  button_gen = gr.Button("Generate Image")
24
  with gr.Column():
25
  # show images
26
- output = gr.Image("Generated Image", show_download_button=True)
 
27
 
28
- button_gen.click(generate_image, inputs=[prompt], outputs=output)
29
 
30
  ShoeGen.launch()
 
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)
30
 
31
  ShoeGen.launch()