From acbd9ff2c91182d96c57ffb57bee6e9b3fcbcbd4 Mon Sep 17 00:00:00 2001 From: historia Date: Wed, 26 Aug 2026 01:43:41 -0400 Subject: refactor: split tts.py into per-backend packages --- audiobook.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'audiobook.py') diff --git a/audiobook.py b/audiobook.py index 3882e7f..5569070 100755 --- a/audiobook.py +++ b/audiobook.py @@ -36,13 +36,7 @@ from backends import envs as _envs # noqa: I001 from converter import config from converter import converter as _converter_mod -from converter.converter import ( - AUDIO_FORMATS, - AudiobookConverter, - setup_directories, - setup_logging, -) -from converter.tts import ( +from converter.clients import ( BACKEND_AUDIOCPP, BACKEND_FASTER, BACKEND_QWEN, @@ -50,6 +44,12 @@ from converter.tts import ( VOICE_MODE_CUSTOM, normalize_language, ) +from converter.converter import ( + AUDIO_FORMATS, + AudiobookConverter, + setup_directories, + setup_logging, +) def convert(backend: str = None, voice: str = None, clone: str = None, -- cgit v1.2.3