From ff27690ca7b3fad0f897c5ba731de8bff4dd0bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Thu, 11 Feb 2021 13:43:29 +0000 Subject: [PATCH] bug fix --- TTS/utils/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/utils/manage.py b/TTS/utils/manage.py index db62acd1..72894890 100644 --- a/TTS/utils/manage.py +++ b/TTS/utils/manage.py @@ -107,7 +107,7 @@ class ModelManager(object): # download from gdrive self._download_gdrive_file(model_item['model_file'], output_model_path) self._download_gdrive_file(model_item['config_file'], output_config_path) - if self._check_dict_key(model_item, 'scale_stats'): + if self._check_dict_key(model_item, 'stats_file'): output_stats_path = os.path.join(output_path, 'scale_stats.npy') self._download_gdrive_file(model_item['stats_file'], output_stats_path) # set scale stats path in config.json