BhumikaMak commited on
Commit
d5ed646
·
verified ·
1 Parent(s): dae8a3a

fit result image to gallery

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -109,6 +109,7 @@ with gr.Blocks(css=custom_css) as interface:
109
  result_gallery = gr.Gallery(
110
  label="Results",
111
  rows=1,
 
112
  height=500,
113
  )
114
 
@@ -124,6 +125,7 @@ with gr.Blocks(css=custom_css) as interface:
124
  dff_gallery = gr.Gallery(
125
  label="Deep Feature Factorization",
126
  rows=1,
 
127
  height=800,
128
  )
129
 
 
109
  result_gallery = gr.Gallery(
110
  label="Results",
111
  rows=1,
112
+ object_fit="contain",
113
  height=500,
114
  )
115
 
 
125
  dff_gallery = gr.Gallery(
126
  label="Deep Feature Factorization",
127
  rows=1,
128
+ object_fit="contain",
129
  height=800,
130
  )
131