jblast94's picture
Create .env
6bbb70f verified
# Voice Agent UI - Local/Space Environment Template
#
# This file documents all environment variables used by voice-agent-ui/app.py
# for both local runs and the Hugging Face Space deployment.
#
# Copy to `.env` (for local) or configure values in the HF Space settings.
# Supabase (allowed in HF Space: anon key + URL only)
HF_SUPABASE_URL=https://your-supabase-project.supabase.co
HF_SUPABASE_ANON_KEY=your-supabase-anon-key
# Orchestrator (n8n Webhook)
# In production (HF Space), set this to the public Voice-Agent Orchestrator webhook URL:
# e.g. https://n8n.jcn.digital/webhook/voice-agent
HF_ORCHESTRATOR_URL=https://n8n.jcn.digital/webhook/voice-agent
# Shared secret for orchestrator webhook auth (must match ORCHESTRATOR_WEBHOOK_SECRET in n8n)
HF_ORCHESTRATOR_WEBHOOK_SECRET=your-orchestrator-webhook-secret
# Local development fallback:
# If HF_ORCHESTRATOR_URL is not set, app.py will default to this.
# Point it at your local n8n webhook when running end-to-end locally.
LOCAL_ORCHESTRATOR_FALLBACK=http://localhost:5678/webhook/voice-agent