From 477ac3e827e3bdc9f14583fc3aa8db1fa2d27c52 Mon Sep 17 00:00:00 2001 From: historia Date: Wed, 26 Aug 2026 21:22:40 -0400 Subject: feat: design model support for qwen-tts backend. remove unnecessary port split for qwen models --- app/converter/clients/base.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'app/converter/clients/base.py') diff --git a/app/converter/clients/base.py b/app/converter/clients/base.py index a0f28cf..d0d57fb 100644 --- a/app/converter/clients/base.py +++ b/app/converter/clients/base.py @@ -17,12 +17,14 @@ class ConversionCancelled(Exception): """Raised when the run's cancel event is set (between requests).""" -# How a run supplies its voice: a built-in CustomVoice speaker, or by -# cloning a reference audio clip (the faster and audiocpp backends always -# clone server-side; only the Qwen client branches on this at request time). +# How a run supplies its voice: a built-in CustomVoice speaker, by cloning +# a reference audio clip (the faster and audiocpp backends always clone +# server-side; only the Qwen client branches on this at request time), or +# designed from an instruction (Qwen's VoiceDesign model). VOICE_MODE_CUSTOM = "custom_voice" VOICE_MODE_CLONE = "voice_clone" -VOICE_MODES = (VOICE_MODE_CUSTOM, VOICE_MODE_CLONE) +VOICE_MODE_DESIGN = "voice_design" +VOICE_MODES = (VOICE_MODE_CUSTOM, VOICE_MODE_CLONE, VOICE_MODE_DESIGN) def resolve_request_seed() -> int: -- cgit v1.2.3