Spaces:
Running
Running
Update sroie_inference.py
Browse files- sroie_inference.py +1 -1
sroie_inference.py
CHANGED
@@ -90,7 +90,7 @@ def prediction(image):
|
|
90 |
|
91 |
blur_boxes = []
|
92 |
for prediction, box in zip(true_predictions, true_boxes):
|
93 |
-
if prediction != 'O' and prediction != 'TOTAL':
|
94 |
blur_boxes.append(box)
|
95 |
|
96 |
image = (blur(image, blur_boxes))
|
|
|
90 |
|
91 |
blur_boxes = []
|
92 |
for prediction, box in zip(true_predictions, true_boxes):
|
93 |
+
if prediction != 'O' and prediction != 'S-TOTAL':
|
94 |
blur_boxes.append(box)
|
95 |
|
96 |
image = (blur(image, blur_boxes))
|