From 5ab228dff2bfe5bf495091d26b58e0ff115df8d3 Mon Sep 17 00:00:00 2001 From: WeberJulian Date: Mon, 11 Dec 2023 22:31:53 +0100 Subject: [PATCH] Fix CI --- TTS/bin/synthesize.py | 7 ------- 1 file changed, 7 deletions(-) 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)