aboutsummaryrefslogtreecommitdiff
path: root/app/backends
diff options
context:
space:
mode:
Diffstat (limited to 'app/backends')
-rw-r--r--app/backends/qwen.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/backends/qwen.py b/app/backends/qwen.py
index 7fba7e0..be7ebfe 100644
--- a/app/backends/qwen.py
+++ b/app/backends/qwen.py
@@ -30,6 +30,7 @@ from backends import (
servers,
)
from converter import config
+from converter.tts import QWEN3_TTS_SPEAKERS
from ui import taskview, tui
QWEN_PIP_PKG = "qwen-tts"
@@ -38,9 +39,10 @@ QWEN_BASE_MODEL = "Qwen/Qwen3-TTS-12Hz-1.7B-Base"
DEFAULT_CUSTOM_PORT = 7860
DEFAULT_CLONE_PORT = 7861
-# Built-in CustomVoice speakers (see app/converter/config.py SPEAKER).
-QWEN_SPEAKERS = ("Vivian", "Serena", "Uncle_Fu", "Dylan", "Eric", "Ryan",
- "Aiden", "Ono_Anna", "Sohee")
+# Built-in CustomVoice speakers (see app/converter/config.py SPEAKER). The
+# canonical list lives in converter.tts (shared with the audiocpp backend's
+# Convert-form Speaker picker).
+QWEN_SPEAKERS = QWEN3_TTS_SPEAKERS
def _is_installed() -> bool: