SkalskiP commited on
Commit
01e58fd
·
1 Parent(s): 7496bd2

test `output_gallery_component` as output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,