Spaces:
Sleeping
Sleeping
Update cord_inference.py
Browse files- cord_inference.py +1 -1
cord_inference.py
CHANGED
@@ -56,7 +56,7 @@ def prediction(image):
|
|
56 |
true_confidence_scores = true_confidence_scores[1:-1]
|
57 |
|
58 |
for i, conf in enumerate(true_confidence_scores):
|
59 |
-
if conf < 0.
|
60 |
true_predictions[i] = "O"
|
61 |
|
62 |
d = {}
|
|
|
56 |
true_confidence_scores = true_confidence_scores[1:-1]
|
57 |
|
58 |
for i, conf in enumerate(true_confidence_scores):
|
59 |
+
if conf < 0.6 :
|
60 |
true_predictions[i] = "O"
|
61 |
|
62 |
d = {}
|