pragnakalp commited on
Commit
fbc90f8
1 Parent(s): 4097059

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ Paddle OCR
25
  @spaces.GPU
26
  def ocr_with_paddle(img):
27
  finaltext = ''
28
- ocr = PaddleOCR(lang='en',use_angle_cls=True)
29
  # img_path = 'exp.jpeg'
30
  result = ocr.ocr(img)
31
 
 
25
  @spaces.GPU
26
  def ocr_with_paddle(img):
27
  finaltext = ''
28
+ ocr = PaddleOCR(use_gpu=True,lang='en',use_angle_cls=True)
29
  # img_path = 'exp.jpeg'
30
  result = ocr.ocr(img)
31