Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def yolov8_inference(
|
|
73 |
# results = model.predict(image, imgsz=image_size)
|
74 |
# render = render_result(model=model, image=image, result=results[0])
|
75 |
|
76 |
-
return
|
77 |
|
78 |
|
79 |
inputs = [
|
|
|
73 |
# results = model.predict(image, imgsz=image_size)
|
74 |
# render = render_result(model=model, image=image, result=results[0])
|
75 |
|
76 |
+
return annotated_image[:, :, ::-1]
|
77 |
|
78 |
|
79 |
inputs = [
|