Spaces:
Running
Running
| # Needle browser app | |
| ## Dev | |
| ```bash | |
| cd web | |
| npm install | |
| npm run dev # http://localhost:5173 | |
| ``` | |
| During development, ONNX weights are loaded from `web/public/models-dev/` (produced by the `export/` pipeline). For production builds, the app fetches from HF Hub directly — see `src/config.ts`. | |
| ## Test | |
| ```bash | |
| npm test # runs vitest (tokenizer parity) | |
| ``` | |