Spaces:
Running
on
Zero
Running
on
Zero
test `output_gallery_component` as output
Browse files
app.py
CHANGED
@@ -98,7 +98,13 @@ with gr.Blocks() as demo:
|
|
98 |
value='Submit', variant='primary', scale=0)
|
99 |
with gr.Column():
|
100 |
output_gallery_component = gr.Gallery(
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
submit_button_component.click(
|
104 |
fn=process,
|
|
|
98 |
value='Submit', variant='primary', scale=0)
|
99 |
with gr.Column():
|
100 |
output_gallery_component = gr.Gallery(
|
101 |
+
columns=[1],
|
102 |
+
rows=[2],
|
103 |
+
selected_index=0,
|
104 |
+
preview=True,
|
105 |
+
object_fit="contain",
|
106 |
+
height="auto",
|
107 |
+
label='Generated image')
|
108 |
|
109 |
submit_button_component.click(
|
110 |
fn=process,
|