mirror of https://github.com/coqui-ai/TTS.git
Fix CI
This commit is contained in:
parent
8c20a599d8
commit
5ab228dff2
|
@ -372,13 +372,6 @@ def main():
|
||||||
manager.model_info_by_full_name(model_query_full_name)
|
manager.model_info_by_full_name(model_query_full_name)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.language_idx is None and args.language is not None:
|
|
||||||
msg = (
|
|
||||||
"--language is only supported for Coqui Studio models. "
|
|
||||||
"Use --language_idx to specify the target language for multilingual models."
|
|
||||||
)
|
|
||||||
raise ValueError(msg)
|
|
||||||
|
|
||||||
# CASE3: load pre-trained model paths
|
# CASE3: load pre-trained model paths
|
||||||
if args.model_name is not None and not args.model_path:
|
if args.model_name is not None and not args.model_path:
|
||||||
model_path, config_path, model_item = manager.download_model(args.model_name)
|
model_path, config_path, model_item = manager.download_model(args.model_name)
|
||||||
|
|
Loading…
Reference in New Issue