Vihang28 commited on
Commit
7718b7b
·
1 Parent(s): 05b6fee

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 j in range(len(result)):
13
- for i in range(len(result)):
14
  # text1= result[0][i]
15
  # state_txt += str(text1)
16
  print('i=',i)
 
10
  result = pocr_model.ocr(filepath)
11
  state_txt = ""
12
  # for j in range(len(result)):
13
+ for i in range(len(result[0])):
14
  # text1= result[0][i]
15
  # state_txt += str(text1)
16
  print('i=',i)