Fix ChatTTS Corrupt input data by correcting speaker params.

Use spk_smp plus txt_smp for voice clone instead of mis-encoding into spk_emb; migrate legacy speaker_emb.pt and improve error hints.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-12 16:41:23 +08:00
parent f36056d293
commit 82f99c0b89
4 changed files with 118 additions and 23 deletions
+1 -1
View File
@@ -900,7 +900,7 @@ def build_app() -> gr.Blocks:
sources=["upload", "microphone"],
)
spk_transcript = gr.Textbox(
label="参考音频精确转写(可选,提升还原度",
label="参考音频精确转写(强烈建议填写,与录音一致,避免合成报错",
placeholder="示例:今天开了三单,第一单手贱提前平了,第二单…",
info="请尽量与参考音频内容完全一致,可提升音色还原度",
lines=6,