abinash73 commited on
Commit
593638f
·
verified ·
1 Parent(s): 6bde9a2

Fixed line 18

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def extract_text_from_image(image):
15
  if isinstance(image, Image.Image):
16
  image = np.array(image)
17
 
18
- result = ocr.ocr(image, cls=True)
19
 
20
  # Extract text with coordinates
21
  text_blocks = []
 
15
  if isinstance(image, Image.Image):
16
  image = np.array(image)
17
 
18
+ result = ocr.ocr(image)
19
 
20
  # Extract text with coordinates
21
  text_blocks = []