Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,7 @@ def yolov8_inference(
|
|
41 |
image=image[:, :, ::-1].astype(np.uint8)
|
42 |
detections = sv.Detections.from_yolov8(results)
|
43 |
annotated_image = annotatorbbox.annotate(scene=image, detections=detections)
|
|
|
44 |
|
45 |
|
46 |
|
|
|
41 |
image=image[:, :, ::-1].astype(np.uint8)
|
42 |
detections = sv.Detections.from_yolov8(results)
|
43 |
annotated_image = annotatorbbox.annotate(scene=image, detections=detections)
|
44 |
+
annotated_image = annotatorbbox.annotate(scene=annotated_image , detections=detections)
|
45 |
|
46 |
|
47 |
|