ZeroCommand commited on
Commit
0c6cfc6
·
1 Parent(s): 8d74e2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ def inference(img, lang):
27
  im = PIL.Image.open(img.name)
28
  draw_boxes(im, bounds)
29
  im.save('result.jpg')
30
- print(pd.DataFrame(bounds).iloc[: , 1:].to_string)
31
- return ['result.jpg', pd.DataFrame(bounds).iloc[: , 1:].to_string(header=False, index=False)]
32
 
33
 
34
  title = 'EasyOCR'
 
27
  im = PIL.Image.open(img.name)
28
  draw_boxes(im, bounds)
29
  im.save('result.jpg')
30
+ print(pd.DataFrame(bounds).iloc[: , 1:2].to_string)
31
+ return ['result.jpg', pd.DataFrame(bounds).iloc[: , 1:2].to_string(header=False, index=False)]
32
 
33
 
34
  title = 'EasyOCR'