Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
WeberJulian committed Dec 11, 2023
1 parent 8c20a59 commit 5ab228d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions TTS/bin/synthesize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5ab228d

Please sign in to comment.