diff --git a/TTS/bin/synthesize.py b/TTS/bin/synthesize.py index e1b7b756..5945b2ad 100755 --- a/TTS/bin/synthesize.py +++ b/TTS/bin/synthesize.py @@ -150,6 +150,10 @@ def main(): args = parser.parse_args() + # print the description if either text or list_models is not set + if args.text is None and not args.list_models: + parser.parse_args(['-h']) + # load model manager path = Path(__file__).parent / "../.models.json" manager = ModelManager(path) diff --git a/TTS/utils/arguments.py b/TTS/utils/arguments.py index dc0a6764..9ce9b9e1 100644 --- a/TTS/utils/arguments.py +++ b/TTS/utils/arguments.py @@ -10,7 +10,6 @@ import torch from TTS.tts.utils.generic_utils import check_config_tts from TTS.tts.utils.text.symbols import parse_symbols -from TTS.tts.utils.io import load_checkpoint from TTS.utils.console_logger import ConsoleLogger from TTS.utils.generic_utils import create_experiment_folder, get_git_branch from TTS.utils.io import copy_model_files, load_config