mirror of https://github.com/coqui-ai/TTS.git
print the desc if required parameters are not provided
parent
9e84c8a623
commit
6c932c8503
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue