Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|