demoprep / .env.example
mikeboone's picture
fix: update app.py entry point for HF Spaces deployment
df11666
# DemoPrep - Environment Variables
#
# For local development: copy to .env and fill in values.
# For Hugging Face Spaces: add these as Repository Secrets
# (Settings β†’ Repository Secrets β€” do NOT commit real values)
# ── Required: Supabase (bootstrap only) ──────────────────────────────────────
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-supabase-anon-key
# ── Required: LLM ────────────────────────────────────────────────────────────
OPENAI_API_KEY=sk-...
# ── Optional: LLM ────────────────────────────────────────────────────────────
GOOGLE_API_KEY= # Only needed for Gemini models
# ── Local dev only ────────────────────────────────────────────────────────────
# PORT=7863 # Override default port
# DEMOPREP_NO_AUTH=true # Skip login screen (local dev only β€” never set on HF)
# DEMOPREP_DEV_USER_EMAIL= # Auto-login as this user when NO_AUTH=true
# ── Note ──────────────────────────────────────────────────────────────────────
# Snowflake and ThoughtSpot credentials are stored in Supabase admin settings,
# not here. Configure them via the Admin tab after first login.