From 96aa7bdb4344a90c1f11859e56d70144e24241ee Mon Sep 17 00:00:00 2001 From: Camille Moulin Date: Sun, 3 Apr 2022 17:40:56 +0200 Subject: [PATCH] fix(docs): the --model_name and --vocoder_name arguments need a element --- README.md | 18 +++++++++++++++--- TTS/bin/synthesize.py | 4 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 80fa5deaa5..dc20fcb783 100644 --- a/README.md +++ b/README.md @@ -141,21 +141,33 @@ If you are on Windows, 👑@GuyPaddock wrote installation instructions [here](ht - Run TTS with default models: ``` - $ tts --text "Text for TTS" + $ tts --text "Text for TTS" --out_path output/path/speech.wav ``` - Run a TTS model with its default vocoder model: ``` - $ tts --text "Text for TTS" --model_name "// + $ tts --text "Text for TTS" --model_name "///" --out_path output/path/speech.wav + ``` +For example: + + ``` + $ tts --text "Text for TTS" --model_name "tts_models/en/ljspeech/glow-tts" --out_path output/path/speech.wav ``` - Run with specific TTS and vocoder models from the list: ``` - $ tts --text "Text for TTS" --model_name "//" --vocoder_name "//" --output_path + $ tts --text "Text for TTS" --model_name "///" --vocoder_name "///" --out_path output/path/speech.wav + ``` + +For example: + + ``` + $ tts --text "Text for TTS" --model_name "tts_models/en/ljspeech/glow-tts" --vocoder_name "vocoder_models/en/ljspeech/univnet" --out_path output/path/speech.wav ``` + - Run your own TTS model (Using Griffin-Lim Vocoder): ``` diff --git a/TTS/bin/synthesize.py b/TTS/bin/synthesize.py index 509b3da6fb..63d7b28f75 100755 --- a/TTS/bin/synthesize.py +++ b/TTS/bin/synthesize.py @@ -48,13 +48,13 @@ def main(): - Run a TTS model with its default vocoder model: ``` - $ tts --text "Text for TTS" --model_name "// + $ tts --text "Text for TTS" --model_name "/// ``` - Run with specific TTS and vocoder models from the list: ``` - $ tts --text "Text for TTS" --model_name "//" --vocoder_name "//" --output_path + $ tts --text "Text for TTS" --model_name "///" --vocoder_name "///" --output_path ``` - Run your own TTS model (Using Griffin-Lim Vocoder):