Slightly change the layout
Browse files
app.py
CHANGED
@@ -186,15 +186,18 @@ This is an unofficial demo for [https://github.com/VDIGPKU/CBNetV2](https://gith
|
|
186 |
detect_button = gr.Button(value='Detect')
|
187 |
detection_results = gr.Variable()
|
188 |
with gr.Column():
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
|
|
|
|
|
|
198 |
|
199 |
with gr.Row():
|
200 |
paths = sorted(pathlib.Path('images').rglob('*.jpg'))
|
|
|
186 |
detect_button = gr.Button(value='Detect')
|
187 |
detection_results = gr.Variable()
|
188 |
with gr.Column():
|
189 |
+
with gr.Row():
|
190 |
+
detection_visualization = gr.Image(
|
191 |
+
label='Detection Result', type='numpy')
|
192 |
+
with gr.Row():
|
193 |
+
visualization_score_threshold = gr.Slider(
|
194 |
+
0,
|
195 |
+
1,
|
196 |
+
step=0.05,
|
197 |
+
value=0.3,
|
198 |
+
label='Visualization Score Threshold')
|
199 |
+
with gr.Row():
|
200 |
+
redraw_button = gr.Button(value='Redraw')
|
201 |
|
202 |
with gr.Row():
|
203 |
paths = sorted(pathlib.Path('images').rglob('*.jpg'))
|