Update README.md

pull/1098/head
TianYuan 3 years ago committed by GitHub
parent f9672e16ae
commit 689c44dc59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,29 +17,29 @@ pip install paddlespeech
Input of this demo should be a text of the specific language that can be passed via argument. Input of this demo should be a text of the specific language that can be passed via argument.
### 3. Usage ### 3. Usage
- Command Line (Recommended) - Command Line (Recommended)
- Chinese - Chinese
```bash ```bash
paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!"
``` ```
The default acoustic model is `Fastspeech2`, and the default vocoder is `Parallel WaveGAN`. The default acoustic model is `Fastspeech2`, and the default vocoder is `Parallel WaveGAN`.
- Chinese, use `SpeedySpeech` as acoustic model - Chinese, use `SpeedySpeech` as acoustic model
```bash ```bash
paddlespeech tts --am speedyspeech_csmsc --input "你好,欢迎使用百度飞桨深度学习框架!" paddlespeech tts --am speedyspeech_csmsc --input "你好,欢迎使用百度飞桨深度学习框架!"
``` ```
- Chinese, multi speaker - Chinese, multi speaker
```bash ```bash
paddlespeech tts --am fastspeech2_aishell3 --voc pwgan_aishell3 --input "你好,欢迎使用百度飞桨深度学习框架!" --spk_id 0 paddlespeech tts --am fastspeech2_aishell3 --voc pwgan_aishell3 --input "你好,欢迎使用百度飞桨深度学习框架!" --spk_id 0
``` ```
You can change `spk_id` here. You can change `spk_id` here.
- English - English
```bash ```bash
paddlespeech tts --am fastspeech2_ljspeech --voc pwgan_ljspeech --lang en --input "hello world" paddlespeech tts --am fastspeech2_ljspeech --voc pwgan_ljspeech --lang en --input "hello world"
``` ```
- English, multi speaker - English, multi speaker
```bash ```bash
paddlespeech tts --am fastspeech2_vctk --voc pwgan_vctk --input "hello, boys" --lang en --spk_id 0 paddlespeech tts --am fastspeech2_vctk --voc pwgan_vctk --input "hello, boys" --lang en --spk_id 0
``` ```
You can change `spk_id` here. You can change `spk_id` here.
Usage: Usage:
```bash ```bash

Loading…
Cancel
Save