Minor fix in docs for python admonition and code blocks (#16646)

This commit is contained in:
Jan Knobloch 2024-10-02 23:57:31 +02:00 committed by GitHub
parent 7d6528a41a
commit 05fd3a3e73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 23 deletions

View file

@ -380,7 +380,7 @@ Expand sections below for information on how these models were exported and test
See [export mode](../modes/export.md) for details regarding export configuration arguments.
```py
```python
from ultralytics import YOLO
model = YOLO("yolov8n.pt")
@ -401,7 +401,7 @@ Expand sections below for information on how these models were exported and test
See [predict mode](../modes/predict.md) for additional information.
```py
```python
import cv2
from ultralytics import YOLO
@ -421,7 +421,7 @@ Expand sections below for information on how these models were exported and test
See [`val` mode](../modes/val.md) to learn more about validation configuration arguments.
```py
```python
from ultralytics import YOLO
model = YOLO("yolov8n.engine")