Vihang28 commited on
Commit
c1127af
·
1 Parent(s): 753f928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def ocr_model(filepath: str, languages: List[str]=None):
10
  result = pocr_model.ocr(filepath)
11
  state_txt = ""
12
  for i in range(len(result[0])):
13
- text1= result[0][i]
14
  state_txt += str(text1)
15
  print('i=',i)
16
  return state_txt
 
10
  result = pocr_model.ocr(filepath)
11
  state_txt = ""
12
  for i in range(len(result[0])):
13
+ text1= result[0][i][1]
14
  state_txt += str(text1)
15
  print('i=',i)
16
  return state_txt