apailang commited on
Commit
8f5b2b7
Β·
1 Parent(s): 1bc6b45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def predict(pilimg,threshold):
61
  category_index,
62
  use_normalized_coordinates=True,
63
  max_boxes_to_draw=20,
64
- min_score_thresh=threshold,
65
  agnostic_mode=False,
66
  line_thickness=2)
67
 
 
61
  category_index,
62
  use_normalized_coordinates=True,
63
  max_boxes_to_draw=20,
64
+ min_score_thresh=threshold.astype(float),
65
  agnostic_mode=False,
66
  line_thickness=2)
67