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

adjust result image widths

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -110,7 +110,8 @@ with gr.Blocks(css=custom_css) as interface:
110
  label="Results",
111
  rows=1,
112
  object_fit="contain",
113
- height=500,
 
114
  )
115
 
116
  netron_display = gr.HTML(label="Netron Visualization")
@@ -126,7 +127,8 @@ with gr.Blocks(css=custom_css) as interface:
126
  label="Deep Feature Factorization",
127
  rows=1,
128
  object_fit="contain",
129
- height=800,
 
130
  )
131
 
132
 
 
110
  label="Results",
111
  rows=1,
112
  object_fit="contain",
113
+ height="auto", # Adjust height automatically based on content
114
+ width="100%"
115
  )
116
 
117
  netron_display = gr.HTML(label="Netron Visualization")
 
127
  label="Deep Feature Factorization",
128
  rows=1,
129
  object_fit="contain",
130
+ height="auto", # Adjust height automatically based on content
131
+ width="100%"
132
  )
133
 
134