Spaces:
Sleeping
Sleeping
|
Download README.md from shkumar156/Backend-Object-Detection: direct link, hf CLI and curl.
- Browser
- Download file 847 Bytes
-
https://huggingface.co/spaces/shkumar156/Backend-Object-Detection/resolve/main/README.md
- Command line
-
hf download hf://spaces/shkumar156/Backend-Object-Detection/README.md
-
curl -L -o README.md https://huggingface.co/spaces/shkumar156/Backend-Object-Detection/resolve/main/README.md
847 Bytes
| title: YOLOv8s Fullstack Backend | |
| emoji: 🚀 | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| pinned: false | |
| # Fullstack YOLOv8s Backend for Hugging Face Spaces | |
| This backend combines Node.js (Express) and Python (YOLOv8s FastAPI) for object detection, ready to deploy on Hugging Face Spaces using Docker. | |
| ## Files | |
| - `server.js`: Node.js backend | |
| - `detect.py`, `yolov5s.pt`: Python detection logic and model weights | |
| - `requirements.txt`: Python dependencies | |
| - `package.json`: Node.js dependencies | |
| - `Dockerfile`: Multi-runtime deployment | |
| ## Deployment | |
| 1. Upload all files to your Hugging Face Space (Docker > Blank template). | |
| 2. The backend will be available at `https://your-space-name.hf.space`. | |
| ## Notes | |
| - The backend listens on port 7860 (required by Hugging Face Spaces). | |
| - Make sure your frontend points to this backend for API calls. |