Spaces:
Runtime error
Runtime error
test `output_gallery_component` as output
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ with gr.Blocks() as demo:
|
|
98 |
value='Submit', variant='primary', scale=0)
|
99 |
with gr.Column():
|
100 |
output_gallery_component = gr.Gallery(
|
101 |
-
label='Generated image')
|
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 |
+
object_fit="contain", height="auto", label='Generated image')
|
102 |
|
103 |
submit_button_component.click(
|
104 |
fn=process,
|