hysts HF staff commited on
Commit
8830156
·
1 Parent(s): 3fe1151

Slightly change the layout

Browse files
Files changed (1) hide show
  1. app.py +12 -9
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
- detection_visualization = gr.Image(label='Detection Result',
190
- type='numpy')
191
- visualization_score_threshold = gr.Slider(
192
- 0,
193
- 1,
194
- step=0.05,
195
- value=0.3,
196
- label='Visualization Score Threshold')
197
- redraw_button = gr.Button(value='Redraw')
 
 
 
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'))