Spaces:
Build error
Build error
owaiskha9654
commited on
Commit
•
08f90c6
1
Parent(s):
0d14f21
Update app.py
Browse files
app.py
CHANGED
@@ -82,10 +82,7 @@ def detect_Custom(img,model):
|
|
82 |
|
83 |
pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres, classes=opt.classes, agnostic=opt.agnostic_nms)
|
84 |
t2 = time_synchronized()
|
85 |
-
|
86 |
-
if classify:
|
87 |
-
pred = apply_classifier(pred, modelc, img, im0s)
|
88 |
-
|
89 |
for i, det in enumerate(pred):
|
90 |
if webcam:
|
91 |
p, s, im0, frame = path[i], '%g: ' % i, im0s[i].copy(), dataset.count
|
|
|
82 |
|
83 |
pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres, classes=opt.classes, agnostic=opt.agnostic_nms)
|
84 |
t2 = time_synchronized()
|
85 |
+
|
|
|
|
|
|
|
86 |
for i, det in enumerate(pred):
|
87 |
if webcam:
|
88 |
p, s, im0, frame = path[i], '%g: ' % i, im0s[i].copy(), dataset.count
|