DerrylNessie commited on
Commit
ba29956
1 Parent(s): c5c4e79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -28,6 +28,7 @@ def inference(img, lang):
28
  bounds = reader.readtext(img.name)
29
  im = PIL.Image.open(img.name)
30
  draw_boxes(im, bounds)
 
31
  im.save('result.jpg')
32
  return ['result.jpg', pd.DataFrame(bounds).iloc[: , 1:]]
33
 
 
28
  bounds = reader.readtext(img.name)
29
  im = PIL.Image.open(img.name)
30
  draw_boxes(im, bounds)
31
+ lang = ""
32
  im.save('result.jpg')
33
  return ['result.jpg', pd.DataFrame(bounds).iloc[: , 1:]]
34