From 71e24f422271025872ed313fb27fecd323dc4342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Wed, 27 Jan 2021 11:21:50 +0100 Subject: [PATCH] Update README.md --- README.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9fb5deb2..7d378f05 100644 --- a/README.md +++ b/README.md @@ -157,16 +157,35 @@ Some of the public datasets that we successfully applied TTS: After the installation, TTS provides a CLI interface for synthesizing speech using pre-trained models. You can either use your own model or the release models under the TTS project. Listing released TTS models. -```tts --list_models``` +``` +tts --list_models +``` Run a tts and a vocoder model from the released model list. (Simply copy and paste the full model names from the list as arguments for the command below.) -```tts --text "Text for TTS" --model_name "///" --vocoder_name "///" --output_path``` +```console +tts --text "Text for TTS" \ + --model_name "///" \ + --vocoder_name "///" \ + --out_path folder/to/save/output/ +``` Run your own TTS model (Using Griffin-Lim Vocoder) -```tts --text "Text for TTS" --model_path path/to/model.pth.tar --config_path path/to/config.json --out_path output/path/speech.wav``` +```console +tts --text "Text for TTS" \ + --model_path path/to/model.pth.tar \ + --config_path path/to/config.json \ + --out_path output/path/speech.wav +``` Run your own TTS and Vocoder models -```tts --text "Text for TTS" --model_path path/to/config.json --config_path path/to/model.pth.tar --out_path output/path/speech.wav --vocoder_path path/to/vocoder.pth.tar --vocoder_config_path path/to/vocoder_config.json``` +```console +tts --text "Text for TTS" \ + --model_path path/to/config.json \ + --config_path path/to/model.pth.tar \ + --out_path output/path/speech.wav \ + --vocoder_path path/to/vocoder.pth.tar \ + --vocoder_config_path path/to/vocoder_config.json +``` **Note:** You can use ```./TTS/bin/synthesize.py``` if you prefer running ```tts``` from the TTS project folder.