Download entrypoint.sh from levisd/HFS: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/spaces/levisd/HFS/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/levisd/HFS/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/levisd/HFS/resolve/main/entrypoint.sh
195 Bytes
| set -e | |
| # If HFS_PASSWORD is set, append the create-admin flag | |
| if [ -n "$HFS_PASSWORD" ]; then | |
| set -- "$@" --create-admin "$HFS_PASSWORD" | |
| fi | |
| # Execute the passed command | |
| exec "$@" | |