5858- Clone the repo
5959 ``` sh
6060 git clone --recursive https://github.com/FunAudioLLM/CosyVoice.git
61- # If you failed to clone submodule due to network failures, please run following command until success
61+ # If you failed to clone the submodule due to network failures, please run the following command until success
6262 cd CosyVoice
6363 git submodule update --init --recursive
6464 ```
6969 ` ` ` sh
7070 conda create -n cosyvoice -y python=3.10
7171 conda activate cosyvoice
72- # pynini is required by WeTextProcessing, use conda to install it as it can be executed on all platform .
72+ # pynini is required by WeTextProcessing, use conda to install it as it can be executed on all platforms .
7373 conda install -y -c conda-forge pynini==2.1.5
7474 pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com
7575
@@ -104,7 +104,7 @@ git clone https://www.modelscope.cn/iic/CosyVoice-300M-Instruct.git pretrained_m
104104git clone https://www.modelscope.cn/iic/CosyVoice-ttsfrd.git pretrained_models/CosyVoice-ttsfrd
105105` ` `
106106
107- Optionally, you can unzip ` ttsfrd` resouce and install ` ttsfrd` package for better text normalization performance.
107+ Optionally, you can unzip ` ttsfrd` resource and install ` ttsfrd` package for better text normalization performance.
108108
109109Notice that this step is not necessary. If you do not install ` ttsfrd` package, we will use WeTextProcessing by default.
110110
@@ -118,7 +118,7 @@ pip install ttsfrd-0.4.2-cp310-cp310-linux_x86_64.whl
118118# ## Basic Usage
119119
120120We strongly recommend using ` CosyVoice2-0.5B` for better performance.
121- Follow code below for detailed usage of each model.
121+ Follow the code below for detailed usage of each model.
122122
123123` ` ` python
124124import sys
@@ -218,12 +218,12 @@ python3 webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
218218
219219#### Advanced Usage
220220
221- For advanced user , we have provided train and inference scripts in `examples/libritts/cosyvoice/run.sh`.
221+ For advanced users , we have provided training and inference scripts in `examples/libritts/cosyvoice/run.sh`.
222222
223223#### Build for deployment
224224
225225Optionally, if you want service deployment,
226- you can run following steps.
226+ You can run the following steps.
227227
228228``` sh
229229cd runtime/python
0 commit comments