|
--- |
|
title: YOLOS Object Detection |
|
emoji: 📦 |
|
colorFrom: green |
|
colorTo: blue |
|
sdk: gradio |
|
sdk_version: "4.27.0" |
|
app_file: app.py |
|
pinned: false |
|
--- |
|
|
|
# YOLOS Object Detection with Gradio |
|
|
|
This Gradio demo uses the pretrained YOLOS transformer (`hustvl/yolos-base`) from Hugging Face Transformers to detect objects in uploaded images. |
|
|
|
## Features |
|
- Upload any image |
|
- Detect objects with YOLOS |
|
- View bounding boxes and object labels |
|
- Adjustable confidence threshold |
|
|
|
## Run Locally |
|
```bash |
|
pip install -r requirements.txt |
|
python app.py |
|
|