Spaces:
Sleeping
Sleeping
Update text_extraction_model.py
Browse files- text_extraction_model.py +1 -1
text_extraction_model.py
CHANGED
|
@@ -14,6 +14,6 @@ def extract_text(image):
|
|
| 14 |
# Extract text from the OCR result
|
| 15 |
extracted_text = []
|
| 16 |
for (bbox, text, prob) in result:
|
| 17 |
-
extracted_text.append(
|
| 18 |
|
| 19 |
return extracted_text
|
|
|
|
| 14 |
# Extract text from the OCR result
|
| 15 |
extracted_text = []
|
| 16 |
for (bbox, text, prob) in result:
|
| 17 |
+
extracted_text.append(text)
|
| 18 |
|
| 19 |
return extracted_text
|