-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
42 lines (33 loc) · 1.15 KB
/
Copy path.env.example
File metadata and controls
42 lines (33 loc) · 1.15 KB
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
37
38
39
40
41
42
# HeartMuse - Default Configuration
# Copy this file to .env and adjust values as needed.
# All variables are optional - defaults are used when not set.
# --- LLM Backend ---
# LLM_BACKEND=Ollama # Ollama or OpenAI
# --- Ollama ---
# OLLAMA_URL=http://localhost:11434
# OLLAMA_MODEL=glm-4.7-flash
# --- OpenAI ---
# OPENAI_API_KEY=sk-...
# OPENAI_URL=https://api.openai.com/v1
# OPENAI_MODEL=gpt-4.1-mini
# OPENAI_MODELS=gpt-4o-mini,gpt-4o,gpt-4.1-mini,gpt-4.1,o4-mini,gpt-5-mini,gpt-5,gpt-5.2
# --- LLM Generation ---
# LLM_TEMPERATURE=0.7
# LLM_TIMEOUT=120 # Timeout in seconds for LLM API calls
# --- Music Generation ---
# MUSIC_TEMPERATURE=1.0
# MUSIC_CFG_SCALE=1.5
# MUSIC_TOPK=50
# MUSIC_MAX_LENGTH_SEC=240
# MUSIC_NUM_VARIANTS=1 # Number of audio variants per generation (1-10)
# --- Model Selection ---
# MODEL_VARIANT=hny # hny, rl, or base (HNY recommended)
# --- Lazy Loading ---
# Load models on demand and free VRAM between generation stages.
# LAZY_LOAD=true
# --- Server ---
# SERVER_HOST=127.0.0.1 # Use 0.0.0.0 to listen on all interfaces
# SERVER_PORT=7860
# --- Paths ---
# CKPT_DIR=./ckpt
# OUTPUT_DIR=./output