diff options
Diffstat (limited to 'app/backends')
| -rw-r--r-- | app/backends/__init__.py | 2 | ||||
| -rwxr-xr-x | app/backends/audiocpp.py | 2 | ||||
| -rwxr-xr-x | app/backends/faster.py | 2 | ||||
| -rw-r--r-- | app/backends/probe.py | 2 | ||||
| -rw-r--r-- | app/backends/qwen.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/app/backends/__init__.py b/app/backends/__init__.py index 63f0709..f6a1d9b 100644 --- a/app/backends/__init__.py +++ b/app/backends/__init__.py @@ -10,7 +10,7 @@ drives the hub's "Configure backends" menu. The registry is built lazily on the first call to ``get``/``detect_all``/ ``detect`` (not at package import time), because the backend modules pull -in ``converter.tts`` and its third-party dependencies, which are only +in ``converter.clients`` and its third-party dependencies, which are only available inside the managed venv that ``audiobook.py`` bootstraps before importing them. ``backends.envs`` is imported during that bootstrap, so importing this package must stay cheap and dependency-free. diff --git a/app/backends/audiocpp.py b/app/backends/audiocpp.py index 4bcf8fa..3cca94c 100755 --- a/app/backends/audiocpp.py +++ b/app/backends/audiocpp.py @@ -82,7 +82,7 @@ from backends.common import ( wav_dir_preview as _wav_dir_preview, ) from converter import config -from converter.tts import transcribe_reference_audio, whisper_backend_available +from converter.clients import transcribe_reference_audio, whisper_backend_available from ui import taskview, tui DEFAULT_HOST = "127.0.0.1" diff --git a/app/backends/faster.py b/app/backends/faster.py index 50cf61f..cec59a6 100755 --- a/app/backends/faster.py +++ b/app/backends/faster.py @@ -47,7 +47,7 @@ from backends.common import ( normalize_dir_arg, ) from converter import config -from converter.tts import ( +from converter.clients import ( normalize_language, transcribe_reference_audio, whisper_backend_available, diff --git a/app/backends/probe.py b/app/backends/probe.py index ada143a..e996725 100644 --- a/app/backends/probe.py +++ b/app/backends/probe.py @@ -35,7 +35,7 @@ IDENTITY_QWEN_CUSTOM = "qwen-custom" IDENTITY_QWEN_CLONE = "qwen-clone" # Endpoint names the converter resolves for each qwen demo server (see -# converter.tts QwenTTSClient). Mirror them here so identification matches +# converter.clients QwenTTSClient). Mirror them here so identification matches # exactly what the converter would call. _QWEN_CUSTOM_ENDPOINTS = ( "/run_instruct", "/run_custom_voice", "/generate_custom_voice") diff --git a/app/backends/qwen.py b/app/backends/qwen.py index 33e7114..501d929 100644 --- a/app/backends/qwen.py +++ b/app/backends/qwen.py @@ -30,7 +30,7 @@ from backends import ( servers, ) from converter import config -from converter.tts import QWEN3_TTS_SPEAKERS +from converter.clients import QWEN3_TTS_SPEAKERS from ui import taskview, tui QWEN_PIP_PKG = "qwen-tts" |
