aboutsummaryrefslogtreecommitdiff
path: root/audiobook.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-24 00:41:52 -0400
committerhistoria <historiavg@proton.me>2026-08-24 00:41:52 -0400
commit194c63e4d11e6de9792a736a7b99788f1db78741 (patch)
tree0c7eca8bee825b8d5c32f4c64e1d87da793caedb /audiobook.py
parent5bfbdcb5765fd4eb57d13c67169bb3c2706ead75 (diff)
downloadtts-audiobook-generator-194c63e4d11e6de9792a736a7b99788f1db78741.tar.gz
feat: running process detection, menu gating
Diffstat (limited to 'audiobook.py')
-rwxr-xr-xaudiobook.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/audiobook.py b/audiobook.py
index da67ac7..174d8b4 100755
--- a/audiobook.py
+++ b/audiobook.py
@@ -109,7 +109,7 @@ def main() -> None:
except (AttributeError, ValueError):
interactive = False
if interactive:
- import hub
+ from ui import hub
sys.exit(hub.run())
# Non-interactive with no args: a default conversion run (cron/etc).
sys.exit(convert())
@@ -129,10 +129,10 @@ Examples:
python audiobook.py --backend audiocpp --model qwen-design \\
--instructions "A warm adult female narrator with a British accent"
- # Use the Qwen demo server with a custom voice
+ # Use the qwen-tts demo server with a custom voice
python audiobook.py --backend qwen
- # Use the Qwen demo server with voice cloning from reference audio
+ # Use the qwen-tts demo server with voice cloning from reference audio
python audiobook.py --backend qwen --clone path/to/reference.wav
# Use the faster-qwen3-tts server (voice cloning, configured server-side)
@@ -182,7 +182,7 @@ Examples:
parser.add_argument(
"--backend", choices=[BACKEND_AUDIOCPP, BACKEND_QWEN, BACKEND_FASTER],
default=config.BACKEND,
- help=("TTS server to talk to: the Qwen3-TTS demo server (qwen), the "
+ help=("TTS server to talk to: the qwen-tts demo server (qwen), the "
"faster-qwen3-tts OpenAI-compatible server (faster), or an "
"audio.cpp audiocpp_server (audiocpp) hosting any of its TTS "
"model families — Qwen3-TTS, Higgs Audio, VoxCPM2, IndexTTS2, "