arnabdhar boulama commited on
Commit
b9ddd5a
1 Parent(s): 06cc0d8

Update README.md (#3)

Browse files

- Update README.md (d3bf9968230f5759ea9e6b34c140bc8c1f436a3a)


Co-authored-by: Boulama K <boulama@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -34,7 +34,7 @@ model = YOLO(model_path)
34
 
35
  # inference
36
  image_path = "/path/to/image"
37
- output = YOLO(Image.open(image_path))
38
  results = Detections.from_ultralytics(output[0])
39
 
40
  ```
 
34
 
35
  # inference
36
  image_path = "/path/to/image"
37
+ output = model(Image.open(image_path))
38
  results = Detections.from_ultralytics(output[0])
39
 
40
  ```