Spaces:
Runtime error
Runtime error
Commit
·
5d16f46
1
Parent(s):
fb69b2c
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def yolov8_inference(
|
|
35 |
object_prediction_list = []
|
36 |
for _, image_results in enumerate(results):
|
37 |
if len(image_results)!=0:
|
38 |
-
image_predictions_in_xyxy_format = image_results['det']
|
39 |
for pred in image_predictions_in_xyxy_format:
|
40 |
x1, y1, x2, y2 = (
|
41 |
int(pred[0]),
|
|
|
35 |
object_prediction_list = []
|
36 |
for _, image_results in enumerate(results):
|
37 |
if len(image_results)!=0:
|
38 |
+
image_predictions_in_xyxy_format = image_results#['det']
|
39 |
for pred in image_predictions_in_xyxy_format:
|
40 |
x1, y1, x2, y2 = (
|
41 |
int(pred[0]),
|