diff --git a/README.md b/README.md index 935627e5..a5a46cfa 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/docs/source/inference.md b/docs/source/inference.md index 611a2445..55f1e1f8 100644 --- a/docs/source/inference.md +++ b/docs/source/inference.md @@ -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 "///" \ + --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 "///" \ --out_path folder/to/save/output.wav ```