needle-playground / web-README.md
shreyask's picture
Upload folder using huggingface_hub
814c07e verified
# 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)
```