Download web/config.js from robynsd/Laya-demo: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/robynsd/Laya-demo/resolve/main/web/config.js
- Command line
-
hf download hf://spaces/robynsd/Laya-demo/web/config.js
-
curl -L -o config.js https://huggingface.co/spaces/robynsd/Laya-demo/resolve/main/web/config.js
390 Bytes
| // URL of the Laya API used by the static deployment (e.g. on Vercel). | |
| // Replace it with your Hugging Face Space URL, without a trailing slash. | |
| window.LAYA_API = "https://robynsd-laya-demo.hf.space"; | |
| // Pause after the last keystroke before calling the API (ms). A CPU server takes | |
| // about 1 to 2 s per request, so it should not be called on every keystroke. | |
| window.LAYA_DEBOUNCE = 700; | |