Commit
·
1c730df
1
Parent(s):
e9f0715
try gallery element
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ with gr.Blocks() as mindseye:
|
|
| 71 |
with gr.TabItem("Image output"):
|
| 72 |
image = gr.outputs.Image()
|
| 73 |
with gr.TabItem("Gallery output"):
|
| 74 |
-
gallery = gr.
|
| 75 |
|
| 76 |
get_image_latent.click(text2image_latent, inputs=[text,steps,width,height,images,diversity], outputs=[image,gallery])
|
| 77 |
get_image_rudalle.click(text2image_rudalle, inputs=[text,aspect,model], outputs=image)
|
|
|
|
| 71 |
with gr.TabItem("Image output"):
|
| 72 |
image = gr.outputs.Image()
|
| 73 |
with gr.TabItem("Gallery output"):
|
| 74 |
+
gallery = gr.Gallery(label="Individual images")
|
| 75 |
|
| 76 |
get_image_latent.click(text2image_latent, inputs=[text,steps,width,height,images,diversity], outputs=[image,gallery])
|
| 77 |
get_image_rudalle.click(text2image_rudalle, inputs=[text,aspect,model], outputs=image)
|