Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ Paddle OCR
|
|
46 |
"""
|
47 |
def ocr_with_paddle(img):
|
48 |
finaltext = ''
|
49 |
-
ocr = PaddleOCR(lang='en', use_angle_cls=True)
|
50 |
# img_path = 'exp.jpeg'
|
51 |
result = ocr.ocr(img)
|
52 |
|
|
|
46 |
"""
|
47 |
def ocr_with_paddle(img):
|
48 |
finaltext = ''
|
49 |
+
ocr = PaddleOCR(lang='en', use_angle_cls=True, use_gpu=False)
|
50 |
# img_path = 'exp.jpeg'
|
51 |
result = ocr.ocr(img)
|
52 |
|