#!/usr/bin/env bash 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