Spaces:
Sleeping
Sleeping
added css, ensured tight dimensions
Browse files
app.py
CHANGED
@@ -68,8 +68,14 @@ custom_css = """
|
|
68 |
border-radius: 5px;
|
69 |
font-size: 14px;
|
70 |
}
|
|
|
|
|
|
|
|
|
|
|
71 |
"""
|
72 |
|
|
|
73 |
with gr.Blocks(css=custom_css) as interface:
|
74 |
gr.Markdown("# NeuralVista: Visualize Object Detection of Your Models")
|
75 |
|
@@ -128,7 +134,8 @@ with gr.Blocks(css=custom_css) as interface:
|
|
128 |
rows=1,
|
129 |
height="auto", # Adjust height automatically based on content
|
130 |
columns=1,
|
131 |
-
object_fit="
|
|
|
132 |
|
133 |
)
|
134 |
|
|
|
68 |
border-radius: 5px;
|
69 |
font-size: 14px;
|
70 |
}
|
71 |
+
.custom-box {
|
72 |
+
margin: 0 !important;
|
73 |
+
padding: 0 !important;
|
74 |
+
height: fit-content;
|
75 |
+
}
|
76 |
"""
|
77 |
|
78 |
+
|
79 |
with gr.Blocks(css=custom_css) as interface:
|
80 |
gr.Markdown("# NeuralVista: Visualize Object Detection of Your Models")
|
81 |
|
|
|
134 |
rows=1,
|
135 |
height="auto", # Adjust height automatically based on content
|
136 |
columns=1,
|
137 |
+
object_fit="cover",
|
138 |
+
height=300, # Adjust as needed
|
139 |
|
140 |
)
|
141 |
|