room-visualizer / start.sh
Muhammad Usman Nazir
fix: use port 7860 for HF Spaces
b80f3a3
#!/bin/bash
# Startup script for the floor visualizer backend.
# Run once after cloning the repo on the server.
set -e
echo "==> Installing dependencies..."
pip install --no-cache-dir -r requirements-linux-cpu.txt
echo "==> Creating data directories..."
mkdir -p data/uploads data/jobs
echo "==> Starting server..."
VISUALIZER_CONFIG=visualizer.hf.toml uvicorn app:app --host 0.0.0.0 --port 7860 --workers 1