Spaces:
Sleeping
Sleeping
Update utils/image_processor.py
Browse files- utils/image_processor.py +1 -1
utils/image_processor.py
CHANGED
@@ -10,7 +10,7 @@ from PIL import Image
|
|
10 |
|
11 |
# ✅ Initialize EasyOCR reader once (only once, with safe storage dir)
|
12 |
try:
|
13 |
-
reader = easyocr.Reader(['en'], download_enabled=True
|
14 |
print("✅ EasyOCR initialized")
|
15 |
ocr_available = True
|
16 |
except Exception as e:
|
|
|
10 |
|
11 |
# ✅ Initialize EasyOCR reader once (only once, with safe storage dir)
|
12 |
try:
|
13 |
+
reader = easyocr.Reader(['en'], download_enabled=True)
|
14 |
print("✅ EasyOCR initialized")
|
15 |
ocr_available = True
|
16 |
except Exception as e:
|