| # Indic Heritage Studio v2 — environment template. | |
| # Copy to .env and fill in your keys. | |
| # AMD Model API (free) — used by the optional agent layer (StyleAdvisor, PromptEngineer, Critic). | |
| # Get a key at https://developer.amd.com.cn/radeon/modelapis | |
| AMD_MODEL_API_KEY= | |
| # AMD Model API base URL (OpenAI-compatible). | |
| AMD_MODEL_BASE_URL=https://developer.amd.com.cn/radeon/api/v1 | |
| # Primary + fallback models (free AMD-hosted). | |
| AMD_AGENT_MODEL=Qwen3.6-35B-A3B | |
| AMD_AGENT_MODEL_FALLBACK=DeepSeek-V4-Flash | |
| # HuggingFace cache location. | |
| # On dev box: ~/.cache/huggingface (default) | |
| # On AMD instance: /workspace/.cache/huggingface (persistent volume) | |
| HF_HOME=~/.cache/huggingface | |
| # Faster HF downloads (parallel chunks). | |
| HF_HUB_ENABLE_HF_TRANSFER=1 | |
| # After first model download, set this to 1 to avoid network calls. | |
| HF_HUB_OFFLINE=0 | |
| # Multi-GPU configuration. | |
| MULTI_GPU=1 | |
| BATCH_WORKERS=4 | |
| # Gradio server config. | |
| GRADIO_SERVER_NAME=0.0.0.0 | |
| GRADIO_SERVER_PORT=7860 | |
| # Log level (DEBUG / INFO / WARNING / ERROR). | |
| LOG_LEVEL=INFO | |