kedimestan commited on
Commit
ee049fd
1 Parent(s): e472bb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ def yolov8_inference(
48
  for i,box in enumerate(results[0].boxes):
49
  label = results[0].names[box.cls[0].item()]
50
  bbox = box.xyxy[0]
51
- output.append({"label": label, "bbox_coords": bbox})
52
- return output
53
 
54
 
55
  inputs = [
 
48
  for i,box in enumerate(results[0].boxes):
49
  label = results[0].names[box.cls[0].item()]
50
  bbox = box.xyxy[0]
51
+ outputs.append({"label": label, "bbox_coords": bbox})
52
+ return outputs
53
 
54
 
55
  inputs = [