Spaces:
Sleeping
Sleeping
|
Download README.md from michaelandrew35/pcb-defect-api: direct link, hf CLI and curl.
- Browser
- Download file 780 Bytes
-
https://huggingface.co/spaces/michaelandrew35/pcb-defect-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/michaelandrew35/pcb-defect-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/michaelandrew35/pcb-defect-api/resolve/main/README.md
780 Bytes
| title: PCB Defect API | |
| emoji: 🔌 | |
| colorFrom: green | |
| colorTo: gray | |
| sdk: gradio | |
| sdk_version: 5.35.0 | |
| python_version: "3.12" | |
| app_file: app.py | |
| pinned: false | |
| short_description: FastAPI + ONNX Runtime INT8 PCB defect detection API | |
| # PCB defect detection API | |
| FastAPI + ONNX Runtime inference service for a YOLO11n PCB defect detector (static INT8, detection | |
| head FP32), CPU inference on the free tier. Source, tests, CI and benchmarks: https://gitlab.com/michael.sucahyo/pcb-defect-optimization | |
| ```bash | |
| curl -F "file=@board.jpg;type=image/jpeg" https://michaelandrew35-pcb-defect-api.hf.space/v1/predict | |
| ``` | |
| Endpoints: `POST /v1/predict`, `GET /v1/health`, `GET /v1/metrics`, `GET /v1/docs`. | |
| Free Spaces sleep when idle; the first request after a pause waits for a cold start. | |