-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (29 loc) · 867 Bytes
/
Copy path.env.example
File metadata and controls
35 lines (29 loc) · 867 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
28
29
30
31
32
33
34
35
# Qwen3-TTS FastAPI Configuration
# Copy this file to .env and modify as needed
# Model selection (shorthand or full HuggingFace path)
# Recommended (preset speakers + voice cloning):
# 0.6B -> Qwen/Qwen3-TTS-12Hz-0.6B-CustomVoice (~2GB VRAM)
# 1.7B -> Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice (~4-5GB VRAM)
# Voice cloning only (no preset speakers):
# 0.6B-Base, 1.7B-Base
# Voice design from text description:
# 1.7B-VoiceDesign
MODEL_NAME=0.6B
# Device configuration
# Options: cuda:0, cuda:1, cpu
# For CPU mode, use: docker compose -f docker-compose.cpu.yml up --build
DEVICE=cuda:0
# Server configuration
HOST=0.0.0.0
PORT=8880
EXTERNAL_PORT=8005
GRADIO_PORT=7860
# Defaults
DEFAULT_VOICE=default
DEFAULT_FORMAT=mp3
DEFAULT_LANGUAGE=English
# Limits
MAX_INPUT_LENGTH=4096
# Directories (inside container)
VOICES_DIR=/app/voices
CACHE_DIR=/app/cache