GnanaPrasath commited on
Commit
7cce448
·
verified ·
1 Parent(s): 2f3299d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -11,6 +11,7 @@ def predict(image_path,mode):
11
  texts = ocr_recognize.predict(image_path)
12
  else:
13
  texts = ocr_detect.predict(image_path)
 
14
 
15
  texts = texts[0]
16
  return texts
 
11
  texts = ocr_recognize.predict(image_path)
12
  else:
13
  texts = ocr_detect.predict(image_path)
14
+ texts = [" ".join(texts[0])]
15
 
16
  texts = texts[0]
17
  return texts