feature/add args textfile in the docs

This commit is contained in:
shahbazraza 2023-11-11 10:48:46 +05:00
parent 1b7f9348ce
commit 63b0e1a6ca
2 changed files with 14 additions and 1 deletions

View File

@ -344,6 +344,11 @@ If you don't specify any models, then it uses LJSpeech based English model.
```
$ tts --text "Text for TTS" --out_path output/path/speech.wav
```
- Run TTS with text file default models:
```
$ tts --textfile "text/file/path" --out_path output/path/speech.wav
```
- Run TTS and pipe out the generated TTS wav file data:

View File

@ -27,7 +27,15 @@ tts --list_models
Run a TTS model, from the release models list, with its default vocoder. (Simply copy and paste the full model names from the list as arguments for the command below.)
```bash
tts --text "Text for TTS" \
tts --textfile "text/file/path" \
--model_name "<type>/<language>/<dataset>/<model_name>" \
--out_path folder/to/save/output.wav
```
Run a TTS model, from the release models list, with its default vocoder. (Simply copy and paste the full model names from the list as arguments for the command below.)
```bash
tts --textfile "Text for TTS" \
--model_name "<type>/<language>/<dataset>/<model_name>" \
--out_path folder/to/save/output.wav
```