aboutsummaryrefslogtreecommitdiff
path: root/app/backends/qwen.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/qwen.py
parent64e9940d43fad1bc5908b39673b03e4fdc1e8f2f (diff)
downloadtts-audiobook-generator-8c9a782dfe94525dc5f0893c98fd19543648264b.tar.gz
fix: tui errors wait for getch()
Diffstat (limited to 'app/backends/qwen.py')
-rw-r--r--app/backends/qwen.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/backends/qwen.py b/app/backends/qwen.py
index c6a11bf..cc84f8e 100644
--- a/app/backends/qwen.py
+++ b/app/backends/qwen.py
@@ -189,8 +189,6 @@ def _execute_steps(settings: dict) -> List[taskview.TaskStep]:
else:
print("[WARNING] Could not update SPEAKER; edit "
"app/converter/config.py by hand")
-
- _print_launch_hint(settings["custom_port"], settings["clone_port"])
return 0
steps.append(taskview.TaskStep("Sync config & ports", sync))
@@ -202,18 +200,6 @@ def _execute(settings: dict) -> int:
return taskview.run_steps_inline(_execute_steps(settings))
-def _print_launch_hint(custom_port: int, clone_port: int) -> None:
- demo = envs.env_script("qwen-tts-demo")
- print()
- print("Start the servers (in separate terminals), or use the hub's")
- print("'Server' menu / let a conversion start one automatically:")
- print(f" {demo} {QWEN_CUSTOMVOICE_MODEL} --ip 127.0.0.1 "
- f"--port {custom_port}")
- print(f" {demo} {QWEN_BASE_MODEL} --ip 127.0.0.1 "
- f"--port {clone_port}")
- print("Then run: python audiobook.py --backend qwen")
-
-
def setup_screen(stdscr) -> int:
"""Run the setup wizard on an existing curses screen (the hub's).