File size: 462 Bytes
618a176
 
 
 
 
 
 
cb1253f
618a176
 
1
2
3
4
5
6
7
8
9
10
11
# 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.