Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def yolov8_img_inference(
|
|
73 |
present_objects.pop(i)
|
74 |
|
75 |
|
76 |
-
return render, {names[k]: v for k, v in present_objects.
|
77 |
# results = model.predict(image, imgsz=image_size, return_outputs=True)
|
78 |
# results = model.predict(image)
|
79 |
# object_prediction_list = []
|
|
|
73 |
present_objects.pop(i)
|
74 |
|
75 |
|
76 |
+
return render, {names[k]: v for k, v in present_objects.items()}
|
77 |
# results = model.predict(image, imgsz=image_size, return_outputs=True)
|
78 |
# results = model.predict(image)
|
79 |
# object_prediction_list = []
|