Spaces:
Build error
Build error
Update app.py
Browse files
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 |
|