Fix ChatTTS recursion depth exceeded on empty generation.

Disable ensure_non_empty retries, set min_new_token, always refine text, and use per-chunk manual_seed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-12 17:10:26 +08:00
parent 0cce6cda7c
commit 1779449bba
3 changed files with 51 additions and 7 deletions
+1
View File
@@ -17,3 +17,4 @@ OLLAMA_PORT=11434
# 8GB 显存 OOM 时可调低(合成按段切分)
# TTS_MAX_CHARS_PER_CHUNK=150
# TTS_MAX_NEW_TOKEN=768
# TTS_MIN_NEW_TOKEN=16