aboutsummaryrefslogtreecommitdiff
path: root/converter/tts.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-18 18:22:43 -0400
committerhistoria <historiavg@proton.me>2026-08-18 18:22:43 -0400
commitabc610097fe3a6ff1c1282f728fb0d75440f6ba8 (patch)
treeb8130d70b68216d6ab6bbbc5c865869a6a3ee27e /converter/tts.py
parent0a8fc127f81f74f8ea56cd09f54df4b06655ed69 (diff)
downloadtts-audiobook-generator-abc610097fe3a6ff1c1282f728fb0d75440f6ba8.tar.gz
feat: don't truncate transcription logging
Diffstat (limited to 'converter/tts.py')
-rw-r--r--converter/tts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/tts.py b/converter/tts.py
index db5de9b..49ebad0 100644
--- a/converter/tts.py
+++ b/converter/tts.py
@@ -104,7 +104,7 @@ class QwenTTSClient:
print("[WARNING] No reference text available; using x-vector-only clone mode (lower quality).")
print(' Pass --transcription "..." for higher-quality in-context cloning.')
else:
- print(f"[OK] Reference text: {self.voice_clone_ref_text[:100]}...")
+ print(f"[OK] Reference text:\n{self.voice_clone_ref_text}")
def _init_client(self, url: str, clone: bool = False) -> None:
"""Initialize a Gradio client and store its API metadata."""
@@ -179,7 +179,7 @@ class QwenTTSClient:
result = model.transcribe(audio_path)
text = (result.get("text") or "").strip()
if text:
- logger.info("Transcription complete via %s: %s...", backend, text[:100])
+ logger.info("Transcription complete via %s: %s", backend, text)
return text
except ImportError:
continue