compatible when ttsfrd is not avaliable

This commit is contained in:
lyuxiang.lx
2024-07-07 13:13:42 +08:00
parent 39f02fa1f9
commit 50c7b06ea9
2 changed files with 21 additions and 9 deletions

View File

@@ -55,7 +55,10 @@ git clone https://www.modelscope.cn/iic/CosyVoice-300M-Instruct.git pretrained_m
git clone https://www.modelscope.cn/iic/CosyVoice-ttsfrd.git pretrained_models/CosyVoice-ttsfrd
```
Unzip `ttsfrd` resouce and install `ttsfrd` package
Optionaly, you can unzip `ttsfrd` resouce and install `ttsfrd` package.
Notice that this step is not necessary. If you do not install `ttsfrd` package, you need to normalize input text manually.
``` sh
cd pretrained_models/CosyVoice-ttsfrd/
unzip resource.zip -d .