Download static/script.js from Doluong/hoaly: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/Doluong/hoaly/resolve/main/static/script.js
- Command line
-
hf download hf://spaces/Doluong/hoaly/static/script.js
-
curl -L -o script.js https://huggingface.co/spaces/Doluong/hoaly/resolve/main/static/script.js
315 Bytes
| function go() { | |
| fetch("/tao_baogia_tu_pyc", { | |
| method: "POST", | |
| body: new FormData(/*...*/) | |
| }) | |
| .then(res => res.json()) | |
| .then(data => { | |
| document.getElementById("status").innerText = data.message || "Xong!"; | |
| }) | |
| .catch(err => { | |
| document.getElementById("status").innerText = "Lỗi"; | |
| }); | |
| } | |