Spaces:
Sleeping
Sleeping
File size: 495 Bytes
22a6915 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/bash
set -e
# Writable matplotlib config (HF / read-only home)
export MPLCONFIGDIR="${MPLCONFIGDIR:-/tmp/matplotlib}"
mkdir -p "$MPLCONFIGDIR"
echo "=== Resolving LFS pointers ==="
python resolve_lfs.py
echo "=== L2CS weights (retry if missing; build-time download may fail) ==="
python download_l2cs_weights.py || echo "[WARN] L2CS weights download failed — eye gaze unavailable"
echo "=== Starting FocusGuard ==="
exec uvicorn main:app --host 0.0.0.0 --port 7860 --log-level info
|