A newer version of the Gradio SDK is available:
5.42.0
metadata
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
pip install -r requirements.txt
python app.py