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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ image_transform = transforms.Compose([
55
  ])
56
 
57
  # EasyOCR Reader for text extraction
58
- ocr_reader = easyocr.Reader(['en', 'de']) # 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
 
60
  # CLIP Processor
61
  clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")