jhf
Browse files
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"
|
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)
|