Download client/src/common/util.js from linuxrun/deer: direct link, hf CLI and curl.
- Browser
- Download file 75 Bytes
-
https://huggingface.co/spaces/linuxrun/deer/resolve/main/client/src/common/util.js
- Command line
-
hf download hf://spaces/linuxrun/deer/client/src/common/util.js
-
curl -L -o util.js https://huggingface.co/spaces/linuxrun/deer/resolve/main/client/src/common/util.js
75 Bytes
| export function calcPercent(a, b) { | |
| return ((a / b) * 100).toFixed(1); | |
| } | |