jeffaudi's picture
Enhance demo functionality by adding model selection and updating confidence threshold. Update README and CSS for improved clarity and layout. Adjust prediction data for better accuracy and performance.
cb1253f
|
Raw History Blame Contribute Delete
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.