aboutsummaryrefslogtreecommitdiff
path: root/app/backends/faster.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-25 19:03:09 -0400
committerhistoria <historiavg@proton.me>2026-08-25 19:03:09 -0400
commit8c9a782dfe94525dc5f0893c98fd19543648264b (patch)
treefdff70d967ef06f0da560ca284842427cbe647a8 /app/backends/faster.py
parent64e9940d43fad1bc5908b39673b03e4fdc1e8f2f (diff)
downloadtts-audiobook-generator-8c9a782dfe94525dc5f0893c98fd19543648264b.tar.gz
fix: tui errors wait for getch()
Diffstat (limited to 'app/backends/faster.py')
-rwxr-xr-xapp/backends/faster.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/backends/faster.py b/app/backends/faster.py
index 8c64183..7ac4dce 100755
--- a/app/backends/faster.py
+++ b/app/backends/faster.py
@@ -428,15 +428,15 @@ def _execute(settings: dict) -> int:
def _print_launch_hint(voices_path: Path, port: int) -> None:
- print()
+ """Remediation only (troubleshooting): what's missing when not cloned.
+
+ The hub starts and stops the server itself, so a working install gets
+ no manual launch instructions.
+ """
if _is_cloned():
- py = envs.env_python()
- print("Start the server with (or use the hub's 'Server' menu):")
- print(f" {py} {_checkout()}/examples/openai_server.py "
- f"--voices {voices_path} --port {port}")
- else:
- print("[INFO] Clone faster-qwen3-tts to get examples/openai_server.py,")
- print(f" then run it with --voices {voices_path} --port {port}")
+ return
+ print("[INFO] Clone faster-qwen3-tts to get examples/openai_server.py,")
+ print(f" then run it with --voices {voices_path} --port {port}")
def setup_screen(stdscr) -> int: