Genzo1010 commited on
Commit
93a77dc
·
verified ·
1 Parent(s): 9412479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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