23b719w commited on
Commit
a6e3242
·
verified ·
1 Parent(s): fcb120f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def video_fn(video_in_filepath):
151
  category_index,
152
  use_normalized_coordinates=True,
153
  max_boxes_to_draw=200,
154
- min_score_thresh=.50,
155
  agnostic_mode=False,
156
  line_thickness=2)
157
 
 
151
  category_index,
152
  use_normalized_coordinates=True,
153
  max_boxes_to_draw=200,
154
+ min_score_thresh=.50 if threshold is not None else 0.40,
155
  agnostic_mode=False,
156
  line_thickness=2)
157