hank1996 commited on
Commit
d8f03ae
·
1 Parent(s): 1b04cf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -115,10 +115,7 @@ def detect(img,model):
115
  pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres, classes=opt.classes, agnostic=opt.agnostic_nms)
116
  t2 = time_synchronized()
117
 
118
- # Apply Classifier
119
- if classify:
120
- pred = apply_classifier(pred, modelc, img, im0s)
121
-
122
  # Process detections
123
  for i, det in enumerate(pred): # detections per image
124
  if webcam: # batch_size >= 1
 
115
  pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres, classes=opt.classes, agnostic=opt.agnostic_nms)
116
  t2 = time_synchronized()
117
 
118
+
 
 
 
119
  # Process detections
120
  for i, det in enumerate(pred): # detections per image
121
  if webcam: # batch_size >= 1