From 8e415732dd3e1829907937bac19c0326aa8c9a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Tue, 6 Jun 2023 09:41:46 +0200 Subject: [PATCH] Fixup --- TTS/bin/synthesize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/bin/synthesize.py b/TTS/bin/synthesize.py index 9101a581..0654f1f6 100755 --- a/TTS/bin/synthesize.py +++ b/TTS/bin/synthesize.py @@ -356,7 +356,7 @@ If you don't specify any models, then it uses LJSpeech based English model. vc_config_path = config_path # tts model with multiple files to be loaded from the directory path - if model_item["author"] == "fairseq" or isinstance(model_item["github_rls_url"], list): + if model_item.get("author", None) == "fairseq" or isinstance(model_item["github_rls_url"], list): model_dir = model_path tts_path = None tts_config_path = None