Vihang28 commited on
Commit
cecd408
·
1 Parent(s): d2d91ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +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
  while i < (len(result)):
14
  text1= result[0][i]
15
  state_txt += str(text1)
 
10
  result = pocr_model.ocr(filepath)
11
  state_txt = ""
12
  # for j in range(len(result)):
13
+ i=0
14
  while i < (len(result)):
15
  text1= result[0][i]
16
  state_txt += str(text1)