File size: 324 Bytes
add24bd
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
# 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