# SpecDETR Hugging Face Space | |
This repository contains a Gradio demo for SpecDETR, supporting both image and video detection. | |
## Usage | |
- Upload your model config (.py) and checkpoint (.pth) files to the interface. | |
- Test detection on images or videos using the Gradio UI. | |
## Files | |
- `app.py`: Gradio app entry point. | |
- `requirements.txt`: Python dependencies for Hugging Face Spaces. | |
- `download_spod.py`: (Optional) Script for dataset download and config update. | |
## Deployment | |
1. Push this repo to your Hugging Face Space. | |
2. The Space will auto-build and launch the Gradio demo. | |
## Note | |
- If you need to add default configs or checkpoints, place them in the repo and update `app.py` accordingly. | |