MaxMilan1
commited on
Commit
·
ad9ba71
1
Parent(s):
7d79b00
kgjk
Browse files
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 |
-
|
|
|
27 |
|
28 |
-
button_gen.click(generate_image, inputs=[prompt], outputs=
|
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()
|