From 5c821d9fa10794d1284ffeb6f3fcce62801f4588 Mon Sep 17 00:00:00 2001 From: camillem Date: Mon, 27 Jun 2022 10:32:43 +0200 Subject: [PATCH] Fix the --model_name and --vocoder_name arguments need a element (#1469) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Eren Gölge --- README.md | 18 +++++++++++++++--- TTS/bin/synthesize.py | 4 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8ed67c30..1166c768 100644 --- a/README.md +++ b/README.md @@ -149,21 +149,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 7c609890..9a95651a 100755 --- a/TTS/bin/synthesize.py +++ b/TTS/bin/synthesize.py @@ -60,13 +60,13 @@ If you don't specify any models, then it uses LJSpeech based English model. - 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):