mp-02 commited on
Commit
a8ea53b
·
verified ·
1 Parent(s): 4064ff6

Update cord_inference.py

Browse files
Files changed (1) hide show
  1. cord_inference.py +1 -1
cord_inference.py CHANGED
@@ -55,7 +55,7 @@ def prediction(image):
55
  true_words = true_words[1:-1]
56
  true_confidence_scores = true_confidence_scores[1:-1]
57
 
58
- for i, conf in enumerate(true_confidence_scores)
59
  if conf < 0.85 :
60
  true_predictions[i] = "O"
61
 
 
55
  true_words = true_words[1:-1]
56
  true_confidence_scores = true_confidence_scores[1:-1]
57
 
58
+ for i, conf in enumerate(true_confidence_scores):
59
  if conf < 0.85 :
60
  true_predictions[i] = "O"
61