| # Tiny Narrator local configuration. | |
| # Copy this file to .env and fill in the values for the services you want to run live. | |
| # The app loads .env automatically at startup. Process environment variables still override .env values. | |
| # App server | |
| GRADIO_SERVER_NAME=0.0.0.0 | |
| GRADIO_SERVER_PORT=7860 | |
| GRADIO_SHARE=false | |
| PUBLIC_BASE_URL=http://localhost:7860 | |
| # Reader brain: llama.cpp OpenAI-compatible server. | |
| # Use http://localhost:8080/v1 for local llama.cpp, or a Modal URL ending in /v1. | |
| LLAMA_CPP_BASE_URL=http://localhost:8080/v1 | |
| LLAMA_CPP_MODEL=narrator-brain | |
| LLAMA_CPP_TOKEN= | |
| LLAMA_CPP_TIMEOUT_SECONDS=90 | |
| # Speech: Kokoro is loaded locally when the kokoro and soundfile packages are installed. | |
| # No API key is required. | |
| # Image descriptions: OpenAI-compatible MiniCPM-V-4.6 endpoint | |
| MINICPM_VISION_BASE_URL= | |
| MINICPM_VISION_API_KEY= | |
| MINICPM_VISION_MODEL=openbmb/MiniCPM-V-4.6 | |
| MINICPM_VISION_TIMEOUT_SECONDS=45 | |
| # Image generation: Modal-hosted FLUX.2 klein worker | |
| KLEIN_MODAL_ENDPOINT= | |
| KLEIN_MODAL_TOKEN= | |
| KLEIN_MODAL_HEALTH_TIMEOUT_SECONDS=30 | |
| KLEIN_MODAL_TIMEOUT_SECONDS=120 | |