hantech commited on
Commit
6f7cb0d
β€’
1 Parent(s): 1527fb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def inference(filepath, lang):
60
  im = PIL.Image.open(filepath)
61
  draw_boxes(im, bounds)
62
  im.save('result.jpg')
63
- return ['result.jpg', pd.DataFrame(new_bounds).iloc[: , 1:]]
64
 
65
  title = 'EasyOCR'
66
  description = 'Gradio demo for EasyOCR. EasyOCR demo supports 80+ languages.To use it, simply upload your image and choose a language from the dropdown menu, or click one of the examples to load them. Read more at the links below.'
 
60
  im = PIL.Image.open(filepath)
61
  draw_boxes(im, bounds)
62
  im.save('result.jpg')
63
+ return ['result.jpg', pd.DataFrame(new_bounds).iloc[: , 2:]]
64
 
65
  title = 'EasyOCR'
66
  description = 'Gradio demo for EasyOCR. EasyOCR demo supports 80+ languages.To use it, simply upload your image and choose a language from the dropdown menu, or click one of the examples to load them. Read more at the links below.'