Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ def yolov8_img_inference(
|
|
59 |
|
60 |
clist= results[0].boxes.cls.tolist()
|
61 |
cls = set()
|
62 |
-
for cno in clist:
|
63 |
-
|
64 |
|
65 |
# count_result = results.pandas().xyxy[0].value_counts('name')
|
66 |
return render, cls
|
|
|
59 |
|
60 |
clist= results[0].boxes.cls.tolist()
|
61 |
cls = set()
|
62 |
+
# for cno in clist:
|
63 |
+
# cls.add(model.names[int(cno)])
|
64 |
|
65 |
# count_result = results.pandas().xyxy[0].value_counts('name')
|
66 |
return render, cls
|