| # GEMINI_API_KEY: Required for Gemini AI API calls. | |
| # AI Studio automatically injects this at runtime from user secrets. | |
| # Users configure this via the Secrets panel in the AI Studio UI. | |
| GEMINI_API_KEY="MY_GEMINI_API_KEY" | |
| # APP_URL: The URL where this applet is hosted. | |
| # AI Studio automatically injects this at runtime with the Cloud Run service URL. | |
| # Used for self-referential links, OAuth callbacks, and API endpoints. | |
| APP_URL="MY_APP_URL" | |
| # NGROK_AUTHTOKEN: Required to stream via RTMP into this app. | |
| # Since Hugging Face Spaces and AI Studio only expose HTTP proxies, | |
| # we use Ngrok to tunnel the RTMP protocol (TCP Port 1935). | |
| NGROK_AUTHTOKEN="YOUR_NGROK_TOKEN" | |