diff --git a/TTS/bin/synthesize.py b/TTS/bin/synthesize.py index b125baf7c3..b86252ab67 100755 --- a/TTS/bin/synthesize.py +++ b/TTS/bin/synthesize.py @@ -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)