Spaces:
Build error
Build error
Download scripts/hf_space_boot_dispatch.sh from InsanAlex/iris-at-text2sparql: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/spaces/InsanAlex/iris-at-text2sparql/resolve/main/scripts/hf_space_boot_dispatch.sh
- Command line
-
hf download hf://spaces/InsanAlex/iris-at-text2sparql/scripts/hf_space_boot_dispatch.sh
-
curl -L -o hf_space_boot_dispatch.sh https://huggingface.co/spaces/InsanAlex/iris-at-text2sparql/resolve/main/scripts/hf_space_boot_dispatch.sh
374 Bytes
| set -euo pipefail | |
| BOOT_MODE="${HF_BOOT_MODE:-legacy_snapshot}" | |
| case "$BOOT_MODE" in | |
| legacy_snapshot) | |
| exec bash scripts/hf_space_boot.sh | |
| ;; | |
| clean_snapshot) | |
| exec bash scripts/hf_space_boot_clean.sh | |
| ;; | |
| *) | |
| echo "Unknown HF_BOOT_MODE: $BOOT_MODE" | |
| echo "Supported values: legacy_snapshot, clean_snapshot" | |
| exit 1 | |
| ;; | |
| esac | |