linhcuem commited on
Commit
f07963f
1 Parent(s): 78ffc33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def yolov8_img_inference(
73
  present_objects.pop(i)
74
 
75
 
76
- return render, {names[k]: v for k, v in present_objects.item()}
77
  # results = model.predict(image, imgsz=image_size, return_outputs=True)
78
  # results = model.predict(image)
79
  # object_prediction_list = []
 
73
  present_objects.pop(i)
74
 
75
 
76
+ return render, {names[k]: v for k, v in present_objects.items()}
77
  # results = model.predict(image, imgsz=image_size, return_outputs=True)
78
  # results = model.predict(image)
79
  # object_prediction_list = []