yeswanthvarma commited on
Commit
c8944a1
·
verified ·
1 Parent(s): a4b473b

Update utils/image_processor.py

Browse files
Files changed (1) hide show
  1. 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, model_storage_directory="/tmp/.easyocr")
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: