This commit is contained in:
Eren Gölge
2023-06-06 09:41:46 +02:00
parent 547a72c97d
commit 8e415732dd
+1 -1
View File
@@ -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