Spaces:
Paused
Paused
Download start.sh from drrobot9/neural-forge: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/drrobot9/neural-forge/resolve/acf94deef34555bdff29db9012f442cbd225d8e8/start.sh
- Command line
-
hf download hf://spaces/drrobot9/neural-forge@acf94deef34555bdff29db9012f442cbd225d8e8/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/drrobot9/neural-forge/resolve/acf94deef34555bdff29db9012f442cbd225d8e8/start.sh
383 Bytes
| set -euo pipefail | |
| if [ -d /data ] && [ -w /data ]; then | |
| export HF_HOME=/data/.huggingface | |
| mkdir -p "$HF_HOME" | |
| fi | |
| exec python -m uvicorn neural_forge.app:app \ | |
| --host 0.0.0.0 \ | |
| --port "${PORT:-7860}" \ | |
| --proxy-headers \ | |
| --forwarded-allow-ips "*" \ | |
| --ws-ping-interval 20 \ | |
| --ws-ping-timeout 30 \ | |
| --ws-max-size 16777216 \ | |
| --timeout-keep-alive 75 | |