ecarbo commited on
Commit
fb7b32d
unverified
1 Parent(s): 46fb50b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def inference(img, lang):
19
  im_show = draw_ocr(image, boxes, txts, scores, font_path='RightSans.ttf')
20
  im_show = Image.fromarray(im_show)
21
  im_show.save('result.jpg')
22
- return 'result.jpg', result[0][1]
23
 
24
 
25
  title = 'PaddleOCR'
 
19
  im_show = draw_ocr(image, boxes, txts, scores, font_path='RightSans.ttf')
20
  im_show = Image.fromarray(im_show)
21
  im_show.save('result.jpg')
22
+ return 'result.jpg', result[0][1][0]
23
 
24
 
25
  title = 'PaddleOCR'