diff options
Diffstat (limited to 'app/backends/faster.py')
| -rwxr-xr-x | app/backends/faster.py | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/app/backends/faster.py b/app/backends/faster.py index 285d865..2d0cad3 100755 --- a/app/backends/faster.py +++ b/app/backends/faster.py @@ -337,27 +337,19 @@ def _execute_steps(settings: dict) -> List[taskview.TaskStep]: if voices is None: return 1 - # Sync app/converter/config.py default voice. (The server port is - # not touched here: it lives in FASTER_API_URL, edited in the - # Settings screen.) - default_voice = next(iter(voices)) - if default_voice != config.FASTER_VOICE: - if common.update_config_value("FASTER_VOICE", default_voice): - print(f"[OK] Updated FASTER_VOICE to {default_voice}") - else: - print("[WARNING] Could not update FASTER_VOICE; edit " - "app/converter/config.py by hand") - + # (The server port is not touched here: it lives in + # FASTER_API_URL, edited in the Settings screen. Voices are picked + # per run with --voice / on the Generate-audiobooks screen.) _print_launch_hint(settings["output_path"]) return 0 steps.append(taskview.TaskStep( - "Write voices.json & sync config", write)) + "Write voices.json", write)) return steps def _execute(settings: dict) -> int: - """Console tail: install, clone, write voices.json, sync, advise.""" + """Console tail: install, clone, write voices.json, advise.""" return taskview.run_steps_inline(_execute_steps(settings)) |
