-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (21 loc) · 753 Bytes
/
.env.example
File metadata and controls
27 lines (21 loc) · 753 Bytes
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
# TTS Adapter Configuration
# Copy to .env and adjust as needed
# Engine selection
TTS_ENGINE=qwen3
# Shared defaults (all engines), eg 'ono_anna', 'sohee', 'vivian', 'serena'
TTS_DEFAULT_SPEAKER=ono_anna
TTS_DEFAULT_LANGUAGE=Russian
# Server
TTS_HOST=0.0.0.0
TTS_PORT=9880
# --- Engine-specific settings ---
# Qwen3 engine (TTS_QWEN3_*)
TTS_QWEN3_MODEL_ID=Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice
TTS_QWEN3_DEVICE=cuda:0
TTS_QWEN3_DTYPE=bfloat16
# --- Offline Mode ---
# 1. Download model: make download-model
# 2. Set local path (printed after download):
TTS_QWEN3_MODEL_PATH=/home/app/.cache/huggingface/hub/models--Qwen--Qwen3-TTS-12Hz-1.7B-CustomVoice/snapshots/0c0e3051f131929182e2c023b9537f8b1c68adfe
# 3. Enable offline mode:
HF_HUB_OFFLINE=1