Spaces:
Runtime error
Runtime error
Commit
·
c55e7e8
1
Parent(s):
56eae0e
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ model = torch.hub.load("ultralytics/yolov5", "custom", path="model/yolov5_0.65ma
|
|
16 |
model.conf = 0.20 # NMS confidence threshold
|
17 |
|
18 |
# sample test images
|
19 |
-
path = [['sample-test-images/27.jpg', 'sample-test-images/82.jpg', 'sample-test-images/91.jpg']]
|
20 |
|
21 |
def show_preds_image(im):
|
22 |
|
|
|
16 |
model.conf = 0.20 # NMS confidence threshold
|
17 |
|
18 |
# sample test images
|
19 |
+
path = [['sample-test-images/27.jpg'], ['sample-test-images/82.jpg'], ['sample-test-images/91.jpg']]
|
20 |
|
21 |
def show_preds_image(im):
|
22 |
|