|
Download scripts/README.md from dl4eo/object-detection-optical-satellite: direct link, hf CLI and curl.
- Browser
- Download file 462 Bytes
-
https://huggingface.co/spaces/dl4eo/object-detection-optical-satellite/resolve/main/scripts/README.md
- Command line
-
hf download hf://spaces/dl4eo/object-detection-optical-satellite/scripts/README.md
-
curl -L -o README.md https://huggingface.co/spaces/dl4eo/object-detection-optical-satellite/resolve/main/scripts/README.md
462 Bytes
| # scripts/ | |
| Offline helpers for this Static Space. | |
| | Script | Purpose | | |
| |--------|---------| | |
| | `precompute.py` | Call Modal `object-predict` for each `demo/*.jpg` and write `predictions/*.json` + `manifest.json` | | |
| | `serve.py` | Local static server on :7860 with `Cache-Control: no-store` so JS/CSS updates show up on refresh | | |
| Run via `make precompute` from the repo root. Set `DL4EO_API_KEY` in a repo-root `.env` (see `.env.example`) or in the environment. | |