Spaces:
Sleeping
Sleeping
resolved display image fit
Browse files
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 |
|