limitedonly41 commited on
Commit
28c504c
·
verified ·
1 Parent(s): 5a78bff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -55,7 +55,8 @@ image_transform = transforms.Compose([
55
  ])
56
 
57
  # EasyOCR Reader for text extraction
58
- ocr_reader = easyocr.Reader(['en', 'de'], gpu=False) # Supports English and German
 
59
 
60
  # CLIP Processor
61
  clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
 
55
  ])
56
 
57
  # EasyOCR Reader for text extraction
58
+ # ocr_reader = easyocr.Reader(['en', 'de'], gpu=False) # Supports English and German
59
+ ocr_reader = easyocr.Reader(['en', 'de'], model_storage_directory="./")
60
 
61
  # CLIP Processor
62
  clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")