youl commited on
Commit
c8a1260
·
1 Parent(s): dda86de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ if file_name is not None:
68
  nms_prediction = apply_nms(predictions, iou_thresh=0.1)
69
 
70
  plot_img_bbox(image, nms_prediction)
71
- pred = Image.open("pred.jpg")
72
  col2.image(pred, use_column_width=True)
73
 
74
 
 
68
  nms_prediction = apply_nms(predictions, iou_thresh=0.1)
69
 
70
  plot_img_bbox(image, nms_prediction)
71
+ pred = np.array(Image.open("pred.jpg"))
72
  col2.image(pred, use_column_width=True)
73
 
74