Spaces:
Sleeping
Sleeping
Download .env.example from Sebacu/saniplus-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 639 Bytes
-
https://huggingface.co/spaces/Sebacu/saniplus-chatbot/resolve/main/.env.example
- Command line
-
hf download hf://spaces/Sebacu/saniplus-chatbot/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/Sebacu/saniplus-chatbot/resolve/main/.env.example
639 Bytes
| # Copy to .env for local dev (never commit the real .env — it's gitignored). | |
| # On Render/Fly these are set as dashboard secrets, not from a file. | |
| # Required for live model answers (without it, the safety gate still works | |
| # but SAFE questions return a "no key configured" message). | |
| ANTHROPIC_API_KEY=sk-ant-... | |
| # Shared access code for the demo gate. When set, /api/chat requires it. | |
| # Leave empty/unset to run fully open (local dev only). | |
| ACCESS_CODE=changeme | |
| # Port the server listens on (Render/Fly inject this automatically). | |
| PORT=8100 | |
| # Rate limiting (per IP). Defaults shown; override to taste. | |
| RATE_MAX=20 | |
| RATE_WINDOW_MS=60000 | |