kedimestan commited on
Commit
696de14
·
verified ·
1 Parent(s): d89ced9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -59,8 +59,7 @@ def yolov8_inference(
59
  boxes = []
60
  for result in results:
61
  # Extract bounding boxes (xyxy format)
62
- for box in result.boxes.xyxy:
63
- boxes.append(box.tolist())
64
 
65
  return boxes
66
 
 
59
  boxes = []
60
  for result in results:
61
  # Extract bounding boxes (xyxy format)
62
+ boxes.append(result.boxes.xyxy)
 
63
 
64
  return boxes
65