Spaces:
Sleeping
Sleeping
Amlan-109
feat: Initial commit of LocalAI Amlan Edition with premium branding and personalization
750bbe6 Download backend/python/ace-step/test.sh from Davex256/LocalAI-Amlan-Edition: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/Davex256/LocalAI-Amlan-Edition/resolve/main/backend/python/ace-step/test.sh
- Command line
-
hf download hf://spaces/Davex256/LocalAI-Amlan-Edition/backend/python/ace-step/test.sh
-
curl -L -o test.sh https://huggingface.co/spaces/Davex256/LocalAI-Amlan-Edition/resolve/main/backend/python/ace-step/test.sh
488 Bytes
| set -e | |
| backend_dir=$(dirname $0) | |
| if [ -d $backend_dir/common ]; then | |
| source $backend_dir/common/libbackend.sh | |
| else | |
| source $backend_dir/../common/libbackend.sh | |
| fi | |
| # Start backend in background (use env to avoid port conflict in parallel tests) | |
| export PYTHONUNBUFFERED=1 | |
| BACKEND_PORT=${BACKEND_PORT:-50051} | |
| python backend.py --addr "localhost:${BACKEND_PORT}" & | |
| BACKEND_PID=$! | |
| trap "kill $BACKEND_PID 2>/dev/null || true" EXIT | |
| sleep 3 | |
| export BACKEND_PORT | |
| runUnittests | |