diff options
| author | historia <historiavg@proton.me> | 2026-08-27 22:40:58 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-27 22:40:58 -0400 |
| commit | eb465fb2a972b6b07c4b427f940b186745ce6d90 (patch) | |
| tree | 416e0a706da7ede4f273458a2e243ac22393d606 /app/ui/hub.py | |
| parent | 4c3ba1b68107208fe32c223588576a7bdca19a12 (diff) | |
| download | tts-audiobook-generator-eb465fb2a972b6b07c4b427f940b186745ce6d90.tar.gz | |
fix: can't check checkboxes in tts model page
Diffstat (limited to 'app/ui/hub.py')
| -rw-r--r-- | app/ui/hub.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/app/ui/hub.py b/app/ui/hub.py index 68417f7..4fae67b 100644 --- a/app/ui/hub.py +++ b/app/ui/hub.py @@ -834,7 +834,9 @@ def _help_lines() -> list: Items are text_viewer rows: "" (a blank line) or a (segments, indent) pair — SEGMENTS are (text, kind) with KIND a theme key (None = body). Numbered steps start at the margin; every other - line is indented two spaces so it reads as part of its step. The + line is indented three spaces — Frame's two-space indent unit + plus a leading space in the row's first segment — so it lines up + with the step text after the "N. " prefixes. The input/output folders are read from the converter module at call time, so a Settings change this session is reflected without a restart. @@ -842,11 +844,11 @@ def _help_lines() -> list: return [ ([("1. ", "title"), ("Put your ebooks (epub, txt, or pdf) here:", None)], 0), - ([(str(converter_mod.BOOKS_FOLDER), "input")], 1), + ([(" " + str(converter_mod.BOOKS_FOLDER), "input")], 1), "", ([("2. ", "title"), ("Put any .wavs of voices to clone here:", None)], 0), - ([(str(common.VOICES_DIR), "input")], 1), + ([(" " + str(common.VOICES_DIR), "input")], 1), "", ([("3. ", "title"), ("If no backend is installed, go to ", None), @@ -858,24 +860,24 @@ def _help_lines() -> list: ("Select TTS models to install. If you're unsure, try " "these qwen3-tts models:", None)], 0), "", - ([("Voice cloning:", None), (" ", None), + ([(" Voice cloning:", None), (" ", None), ("qwen3_tts_1_7b_base_q8_0", "ok")], 1), - ([("Built-in-voice:", None), (" ", None), + ([(" Built-in-voice:", None), (" ", None), ("qwen3_tts_1_7b_customvoice_q8_0", "ok")], 1), "", - ([("It will take a while to build audio.cpp and download " + ([(" It will take a while to build audio.cpp and download " "the model files.", None)], 1), "", ([("5. ", "title"), ("Go to ", None), ("Generate Audiobooks", "accent"), (". It will automatically start the necessary server, " "generate the books, and stop it.", None)], 0), - ([("There is no need to manually start/stop servers.", None)], 1), + ([(" There is no need to manually start/stop servers.", None)], 1), "", ([("6. ", "title"), ("Generated audiobooks (m4b, mp3, etc.) will output here:", None)], 0), - ([(str(converter_mod.AUDIOBOOKS_FOLDER), "input")], 1), + ([(" " + str(converter_mod.AUDIOBOOKS_FOLDER), "input")], 1), ] |
