owaiskha9654 commited on
Commit
5d16f46
·
1 Parent(s): fb69b2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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]),