Spaces:
Sleeping
Sleeping
|
Download README.md from DmitryPlant/plants-analysis-api: direct link, hf CLI and curl.
- Browser
- Download file 676 Bytes
-
https://huggingface.co/spaces/DmitryPlant/plants-analysis-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/DmitryPlant/plants-analysis-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/DmitryPlant/plants-analysis-api/resolve/main/README.md
676 Bytes
| title: Plants Analysis API | |
| emoji: 🌱 | |
| colorFrom: green | |
| colorTo: yellow | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| # Plants Analysis API | |
| FastAPI backend for the plants fiber-bundle calibration platform. | |
| Endpoints: | |
| - `GET /health` | |
| - `POST /analyze` — runs the CV pipeline, returns bundles + intermediate stage images | |
| - `POST /score` — re-scores already-run bundles against ground truth | |
| Frontend lives in a separate Vercel deployment. | |
| ## Deploy to Hugging Face Spaces | |
| ```bash | |
| # Add the HF Space remote once: | |
| git remote add hf https://huggingface.co/spaces/<HF_USER>/plants-analysis-api | |
| # Push the backend/ subtree: | |
| git subtree push --prefix backend hf main | |
| ``` | |