Simplify Solutions Docs code examples (#17493)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
7da74600ad
commit
cece2ee2cf
8 changed files with 74 additions and 501 deletions
|
|
@ -40,6 +40,12 @@ Streamlit makes it simple to build and deploy interactive web applications. Comb
|
|||
|
||||
!!! example "Streamlit Application"
|
||||
|
||||
=== "CLI"
|
||||
|
||||
```bash
|
||||
yolo streamlit-predict
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
||||
```python
|
||||
|
|
@ -50,12 +56,6 @@ Streamlit makes it simple to build and deploy interactive web applications. Comb
|
|||
### Make sure to run the file using command `streamlit run <file-name.py>`
|
||||
```
|
||||
|
||||
=== "CLI"
|
||||
|
||||
```bash
|
||||
yolo streamlit-predict
|
||||
```
|
||||
|
||||
This will launch the Streamlit application in your default web browser. You will see the main title, subtitle, and the sidebar with configuration options. Select your desired YOLO11 model, set the confidence and NMS thresholds, and click the "Start" button to begin the real-time object detection.
|
||||
|
||||
You can optionally supply a specific model in Python:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue