diff options
| author | historia <historiavg@proton.me> | 2026-08-26 01:43:41 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-26 01:43:41 -0400 |
| commit | acbd9ff2c91182d96c57ffb57bee6e9b3fcbcbd4 (patch) | |
| tree | e336c11f2a57cff5566e249aa5d5477a3dc63c55 /audiobook.py | |
| parent | 104a0d65c1ba37847c15b64212b7fec8ba371ccb (diff) | |
| download | tts-audiobook-generator-acbd9ff2c91182d96c57ffb57bee6e9b3fcbcbd4.tar.gz | |
refactor: split tts.py into per-backend packages
Diffstat (limited to 'audiobook.py')
| -rwxr-xr-x | audiobook.py | 14 |
1 files changed, 7 insertions, 7 deletions
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, |
