DerrylNessie commited on
Commit
137d498
1 Parent(s): baa3055

Update app.py

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