nehulagrawal
commited on
Commit
•
9b71ed1
1
Parent(s):
2b468b7
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def yolov8_img_inference(
|
|
41 |
model.overrides['iou']= iou_threshold
|
42 |
model.overrides['agnostic_nms'] = False # NMS class-agnostic
|
43 |
model.overrides['max_det'] = 1000
|
44 |
-
image = read_image(image)
|
45 |
results = model.predict(image)
|
46 |
render = render_result(model=model, image=image, result=results[0])
|
47 |
|
|
|
41 |
model.overrides['iou']= iou_threshold
|
42 |
model.overrides['agnostic_nms'] = False # NMS class-agnostic
|
43 |
model.overrides['max_det'] = 1000
|
44 |
+
# image = read_image(image)
|
45 |
results = model.predict(image)
|
46 |
render = render_result(model=model, image=image, result=results[0])
|
47 |
|