Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def yolov8_img_inference(
|
|
32 |
model = YOLO(model_path)
|
33 |
model.conf = conf_threshold
|
34 |
model.iou = iou_threshold
|
35 |
-
#results = model.predict(image, imgsz=image_size, return_outputs=True)
|
36 |
results = model.predict(image)
|
37 |
# object_prediction_list = []
|
38 |
# for _, image_results in enumerate(results):
|
|
|
32 |
model = YOLO(model_path)
|
33 |
model.conf = conf_threshold
|
34 |
model.iou = iou_threshold
|
35 |
+
# results = model.predict(image, imgsz=image_size, return_outputs=True)
|
36 |
results = model.predict(image)
|
37 |
# object_prediction_list = []
|
38 |
# for _, image_results in enumerate(results):
|