kedimestan commited on
Commit
45efb0a
·
verified ·
1 Parent(s): 102dcbc

Update app.py

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