File size: 1,028 Bytes
15d68eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # 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
|