Spaces:
Sleeping
Sleeping
Update sroie_inference.py
Browse files- sroie_inference.py +1 -1
sroie_inference.py
CHANGED
@@ -72,7 +72,7 @@ def prediction(image):
|
|
72 |
true_confidence_scores = true_confidence_scores[1:-1]
|
73 |
|
74 |
for i, j in enumerate(true_confidence_scores):
|
75 |
-
if j < 0.9
|
76 |
true_predictions[i] = "O"
|
77 |
|
78 |
d = {}
|
|
|
72 |
true_confidence_scores = true_confidence_scores[1:-1]
|
73 |
|
74 |
for i, j in enumerate(true_confidence_scores):
|
75 |
+
if j < 0.9: #####################################
|
76 |
true_predictions[i] = "O"
|
77 |
|
78 |
d = {}
|