From 975053f1789771ba5cb9dbe50ba7fe0aa396f0ab Mon Sep 17 00:00:00 2001 From: historia Date: Fri, 28 Aug 2026 00:59:47 -0400 Subject: fix: silently failing whisper transcription --- app/backends/audiocpp/wizard.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'app/backends/audiocpp/wizard.py') diff --git a/app/backends/audiocpp/wizard.py b/app/backends/audiocpp/wizard.py index 91a8522..46b6638 100644 --- a/app/backends/audiocpp/wizard.py +++ b/app/backends/audiocpp/wizard.py @@ -600,6 +600,19 @@ def _execute_lanes(settings: dict, transcripts, write_prompt = {}, False state["transcripts"] = transcripts state["write_prompt"] = write_prompt + # A blank transcript means the affected clone voices cannot work: + # transcript-conditioned families (Qwen3-TTS Base ICL) reject every + # request without it. Report the step as failed instead of a silent + # [OK]; the setup continues (warn-and-continue) and still writes + # server.json and prompt_text. + blank = sorted(name for name, text in transcripts.items() + if not text.strip()) + if blank: + print("[ERROR] No transcript for: " + ", ".join(blank)) + print("[ERROR] Those clone voices will NOT work until prompt_text " + "carries an accurate transcript for each one; see the " + "summary below for how to fix them by hand.") + return 1 return 0 def write(emit, cancel): -- cgit v1.2.3