# Copy to .env for local dev. Never commit .env (gitignored). # On the HF Space, set these in Settings > Variables and secrets. # --- App --- APP_ENV=dev # dev | prod LOG_LEVEL=INFO # --- Languages (per-learner override comes in M3) --- DEFAULT_SOURCE_LANG=fr DEFAULT_TARGET_LANG=en # --- LLM (provider-agnostic via OpenAI-compatible endpoints, see ADR 0002) --- LLM_PROVIDER=fake # fake | gemini | openai | mistral | ollama LLM_MODEL=gemini-2.5-flash # safe default; check AI Studio for the current free-tier flash (e.g. gemini-3-flash) LLM_API_KEY= # Gemini: https://aistudio.google.com/apikey # NB: Gemini free tier => prompts may be used for training. Demo data only. # LLM_BASE_URL= # override the per-provider preset endpoint if needed LLM_TIMEOUT_S=30 # --- CEFR classifier (M1) --- # CEFR_MODEL_PATH=models/cefr/en_chunked_weighted/onnx-int8 # local dev # CEFR_MODEL_ID=/polyglot-tutor-cefr-onnx # Space (HF_TOKEN if private) # CACHE_DIR=.cache/tutor # LLM-product cache # --- ASR / TTS / storage (real implementations land in M2 / M3) --- ASR_PROVIDER=fake TTS_PROVIDER=fake STORAGE_BACKEND=memory # --- Gradio --- HOST=0.0.0.0 PORT=7860 GRADIO_AUTH_USERNAME= # set both to enable basic auth (recruiter demo account) GRADIO_AUTH_PASSWORD=