0xCAFEBABE0
b60c37b31a
fix(bug).when generating text that contains only punctuation marks or whitespace characters, the CPU usage reaches 100%, and the process crashes.
2024-12-30 10:48:43 +08:00
zhuyunfeng
0b76dfa1eb
Update frontend_utils.py
...
Fix typo
2024-09-29 14:41:33 +08:00
zhuyunfeng
74a449ad1f
Update frontend_utils.py
...
Fix typo
2024-09-29 14:26:33 +08:00
zhuyunfeng
9c0aa1918b
Update frontend_utils.py
...
"Fix the bug in `split_paragraph` where the last sentence of synthesized text with multiple paragraphs loses punctuation, causing it to be lost."
2024-09-29 14:19:31 +08:00
lyuxiang.lx
90433f5373
fix lint
2024-09-05 16:15:34 +08:00
passerbya
69026d83bb
没有标点结尾时默认加上句号
2024-07-09 17:42:40 +08:00
passerbya
f9fe31f200
文本中没有标点时无法合成
2024-07-09 17:26:19 +08:00
passerbya
2f496104ec
半角句号会导致合成失败:RuntimeError: torch.cat(): expected a non-empty list of Tensors
...
text='小明因为感冒,鼻子不通,讲话总带着齉音.'
File "/usr/local/data/CosyVoice/cosyvoice/cli/cosyvoice.py", line 62, in inference_zero_shot
return {'tts_speech': torch.concat(tts_speeches, dim=1)}
RuntimeError: torch.cat(): expected a non-empty list of Tensors
原因为self.frontend.text_normalize(tts_text, split=True)返回为空
2024-07-09 08:17:34 +08:00
lyuxiang.lx
076829ab84
add cosyvoice code
2024-07-04 21:15:12 +08:00