BhumikaMak commited on
Commit
4329d33
·
verified ·
1 Parent(s): 16d9483

resolved display image fit

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -108,10 +108,10 @@ with gr.Blocks(css=custom_css) as interface:
108
  with gr.Row():
109
  result_gallery = gr.Gallery(
110
  label="Results",
111
- rows=1,
112
- object_fit="contain",
113
  height=400, # Adjust height automatically based on content
114
- columns=1
 
115
 
116
  )
117
  netron_display = gr.HTML(label="Netron Visualization")
@@ -128,7 +128,8 @@ with gr.Blocks(css=custom_css) as interface:
128
  rows=1,
129
  object_fit="contain",
130
  height=400, # Adjust height automatically based on content
131
- columns=1
 
132
 
133
  )
134
 
 
108
  with gr.Row():
109
  result_gallery = gr.Gallery(
110
  label="Results",
111
+ rows=1,
 
112
  height=400, # Adjust height automatically based on content
113
+ columns=1 ,
114
+ object_fit="scale-down"
115
 
116
  )
117
  netron_display = gr.HTML(label="Netron Visualization")
 
128
  rows=1,
129
  object_fit="contain",
130
  height=400, # Adjust height automatically based on content
131
+ columns=1,
132
+ object_fit="scale-down"
133
 
134
  )
135