linhcuem commited on
Commit
1a1ec2d
1 Parent(s): cb31023

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def yolov8_img_inference(
68
  clist = results[0].boxes.cls
69
  cls = set()
70
  for c in clist:
71
- cls = cls.add(names[int(c)])
72
  if c in names:
73
  object_counts[c] += 1
74
  elif c not in names:
 
68
  clist = results[0].boxes.cls
69
  cls = set()
70
  for c in clist:
71
+ cls.add(names[int(c)])
72
  if c in names:
73
  object_counts[c] += 1
74
  elif c not in names: