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/backends/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app/backends/__init__.py') diff --git a/app/backends/__init__.py b/app/backends/__init__.py index 2b7fbe6..192067c 100644 --- a/app/backends/__init__.py +++ b/app/backends/__init__.py @@ -41,8 +41,8 @@ _detect_cache = None class ServerSpec: """One launchable server process for a backend. - A backend may expose more than one server (qwen runs CustomVoice and Base - on separate ports). ARGV is the exact command line the hub spawns (using + Most backends expose exactly one server. ARGV is the exact command line + the hub spawns (using the managed venv's absolute binaries, so no shell activation is needed); URL is the endpoint ``common.server_running`` probes to decide readiness. @@ -88,14 +88,14 @@ class BackendStatus: backend by ``backends.probe.identify_server`` — a server this tool did not start (it is suppressed when the remote URL equals the local URL and this tool's own pid is still alive). REMOTE_URLS maps each server spec - name ("audiocpp", "faster", "qwen-custom", "qwen-clone") to the remote + name ("audiocpp", "faster", "qwen") to the remote URL that answered, so the hub's convert menu can target it. RUNNING is true when the backend is usable either locally (MANAGED) or remotely (REMOTE), and drives both the status table ("running [local]", "running [remote]", "running [local, remote]") and the hub menu gating. - RUNNING_MODELS names which of a multi-server backend's models answered - (qwen: "Base" and/or "CustomVoice", local and remote combined), shown in - parentheses in the hub's status table. + RUNNING_MODELS names which of a multi-model backend's models answered + (qwen: "Base", "CustomVoice" and/or "VoiceDesign", local and remote + combined), shown in parentheses in the hub's status table. MODELS_MISSING says the server config references model files that are not on disk (e.g. an audio.cpp server.json entry whose ``path`` was never -- cgit v1.2.3