This commit is contained in:
WeberJulian 2023-12-11 22:31:53 +01:00
parent 8c20a599d8
commit 5ab228dff2
1 changed files with 0 additions and 7 deletions

View File

@ -372,13 +372,6 @@ def main():
manager.model_info_by_full_name(model_query_full_name)
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
if args.model_name is not None and not args.model_path:
model_path, config_path, model_item = manager.download_model(args.model_name)