Spaces:
Sleeping
Sleeping
Download setup.sh from vinayedula/RefDiffNet: direct link, hf CLI and curl.
- Browser
- Download file 324 Bytes
-
https://huggingface.co/spaces/vinayedula/RefDiffNet/resolve/63a615f15faabef858d0d7e85b8c56dc7ccdabc2/setup.sh
- Command line
-
hf download hf://spaces/vinayedula/RefDiffNet@63a615f15faabef858d0d7e85b8c56dc7ccdabc2/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/vinayedula/RefDiffNet/resolve/63a615f15faabef858d0d7e85b8c56dc7ccdabc2/setup.sh
324 Bytes
| # Hugging Face Spaces: install vendored custom Ultralytics before app starts. | |
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| if [[ -d vendor ]]; then | |
| pip install -q -e ./vendor | |
| echo "Installed custom ultralytics from ./vendor" | |
| else | |
| echo "WARN: vendor/ missing — run prepare_space.sh before deploying" | |
| fi | |