DerrylNessie commited on
Commit
d2b87eb
1 Parent(s): 85f0f8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def inference(img, lang):
62
  bounds = reader.readtext(img.name)
63
  im = PIL.Image.open(img.name)
64
  img_array = np.array(im)
65
- img = draw_boxes(im, bounds)
66
  im = draw_mask(img_array, bounds)
67
  im = Image.fromarray(im, 'RGB')
68
  lang = ""
 
62
  bounds = reader.readtext(img.name)
63
  im = PIL.Image.open(img.name)
64
  img_array = np.array(im)
65
+ img = draw_boxes(img_array, bounds)
66
  im = draw_mask(img_array, bounds)
67
  im = Image.fromarray(im, 'RGB')
68
  lang = ""