Commit Graph

8 Commits

Author SHA1 Message Date
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
62c71075ac update dockerfile 2024-07-08 16:40:46 +08:00
lyuxiang.lx
50c7b06ea9 compatible when ttsfrd is not avaliable 2024-07-07 13:13:42 +08:00
lyuxiang.lx
71238461f0 remove academic and change to iic/CosyVoice_ttsfrd 2024-07-07 12:19:34 +08:00
lyuxiang.lx
834053940d update modelscope model 2024-07-06 01:53:58 +08:00
lyuxiang.lx
0379f38dd9 add cpuruntime in provider 2024-07-05 21:41:50 +08:00
lyuxiang.lx
3910efd6d3 add submodule 2024-07-04 21:40:58 +08:00
lyuxiang.lx
076829ab84 add cosyvoice code 2024-07-04 21:15:12 +08:00