BhumikaMak commited on
Commit
54af7c0
·
verified ·
1 Parent(s): eba0986

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,7 +111,7 @@ with gr.Blocks(css=custom_css) as interface:
111
  rows=1,
112
  height=200, # Adjust height automatically based on content
113
  columns=1 ,
114
- object_fit="cover"
115
 
116
  )
117
  netron_display = gr.HTML(label="Netron Visualization")
@@ -128,7 +128,7 @@ with gr.Blocks(css=custom_css) as interface:
128
  rows=1,
129
  height=200, # Adjust height automatically based on content
130
  columns=1,
131
- object_fit="cover",
132
 
133
  )
134
 
 
111
  rows=1,
112
  height=200, # Adjust height automatically based on content
113
  columns=1 ,
114
+ object_fit="contain"
115
 
116
  )
117
  netron_display = gr.HTML(label="Netron Visualization")
 
128
  rows=1,
129
  height=200, # Adjust height automatically based on content
130
  columns=1,
131
+ object_fit="contain",
132
 
133
  )
134