From dac6566fc38907164d2a6aaec9b6970879ba7d90 Mon Sep 17 00:00:00 2001 From: "lyuxiang.lx" Date: Tue, 30 Dec 2025 16:14:36 +0000 Subject: [PATCH] update tokens --- cosyvoice/cli/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cosyvoice/cli/model.py b/cosyvoice/cli/model.py index b0097fe..0dc2561 100644 --- a/cosyvoice/cli/model.py +++ b/cosyvoice/cli/model.py @@ -410,8 +410,8 @@ class CosyVoice3Model(CosyVoice2Model): self.tts_speech_token_dict = {} self.llm_end_dict = {} self.hift_cache_dict = {} - # FSQ silent token - self.silent_tokens = [1, 2, 28, 29, 55, 2241, 2242, 2322, 2323] + # FSQ silent and breath token + self.silent_tokens = [1, 2, 28, 29, 55, 248, 494, 2241, 2242, 2322, 2323] def token2wav(self, token, prompt_token, prompt_feat, embedding, token_offset, uuid, stream=False, finalize=False, speed=1.0): with torch.cuda.amp.autocast(self.fp16):