Mac app 0.3.0: download page, desktop-aware front page, model version from the Space, user settings folder, icon, smoke test
0416eff verified Download app/renderer/model.js from Devseis/Arx: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/Devseis/Arx/resolve/main/app/renderer/model.js
- Command line
-
hf download hf://spaces/Devseis/Arx/app/renderer/model.js
-
curl -L -o model.js https://huggingface.co/spaces/Devseis/Arx/resolve/main/app/renderer/model.js
402 Bytes
| // Desktop app: WebLLM from the app's own node_modules (works offline once the model is cached). | |
| import * as webllm from '../node_modules/@mlc-ai/web-llm/lib/index.js'; | |
| import { loadModelWith } from './model-core.js'; | |
| // Desktop: full-precision build (q0f16) where the GPU supports it. | |
| export const loadModel = (onProgress, version) => loadModelWith(webllm, onProgress, 'full', version || undefined); | |