Spaces:
Running on T4
Running on T4
File size: 412 Bytes
b1d1ff4 b80f3a3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/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
|