pragnakalp commited on
Commit
a8d9f3f
·
verified ·
1 Parent(s): a33c6a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -27,7 +27,6 @@ Paddle OCR
27
  """
28
  # @spaces.GPU
29
  def ocr_with_paddle(img):
30
- print(zero.device)
31
  finaltext = ''
32
  ocr = PaddleOCR(use_gpu=True,lang='en',use_angle_cls=True)
33
  # img_path = 'exp.jpeg'
@@ -44,7 +43,6 @@ Keras OCR
44
  """
45
  # @spaces.GPU
46
  def ocr_with_keras(img):
47
- print(zero.device)
48
  output_text = ''
49
  pipeline=keras_ocr.pipeline.Pipeline().to(device)
50
  images=[keras_ocr.tools.read(img)]
 
27
  """
28
  # @spaces.GPU
29
  def ocr_with_paddle(img):
 
30
  finaltext = ''
31
  ocr = PaddleOCR(use_gpu=True,lang='en',use_angle_cls=True)
32
  # img_path = 'exp.jpeg'
 
43
  """
44
  # @spaces.GPU
45
  def ocr_with_keras(img):
 
46
  output_text = ''
47
  pipeline=keras_ocr.pipeline.Pipeline().to(device)
48
  images=[keras_ocr.tools.read(img)]