Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def yolov8_img_inference(
|
|
64 |
# for c in r.boxes.cls:
|
65 |
# count = names[int(c)]
|
66 |
# count_result = results.pandas().xyxy[0].value_counts('name')
|
67 |
-
return render,
|
68 |
|
69 |
# results = model.predict(image, imgsz=image_size, return_outputs=True)
|
70 |
# results = model.predict(image)
|
|
|
64 |
# for c in r.boxes.cls:
|
65 |
# count = names[int(c)]
|
66 |
# count_result = results.pandas().xyxy[0].value_counts('name')
|
67 |
+
return render, cls
|
68 |
|
69 |
# results = model.predict(image, imgsz=image_size, return_outputs=True)
|
70 |
# results = model.predict(image)
|