GnanaPrasath commited on
Commit
86af403
·
verified ·
1 Parent(s): 012b3d8

Update app.py

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