voice-agent / start.sh
RalphThings's picture
Deploy Hugging Face Space
a8bcb70
raw
history blame contribute delete
240 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd /app
if [[ ! -f .env && -f .env.hf-free.example ]]; then
cp .env.hf-free.example .env
fi
exec python -m uvicorn app.main:app --host "${VOICE_LAB_HOST:-0.0.0.0}" --port "${VOICE_LAB_PORT:-7860}"