diff --git a/TTS/utils/manage.py b/TTS/utils/manage.py index 1cd437e611..674b03fbfa 100644 --- a/TTS/utils/manage.py +++ b/TTS/utils/manage.py @@ -352,8 +352,9 @@ def check_if_configs_are_equal(self, model_name, model_item, output_path): remote_url = url break - with fsspec.open(remote_url, "r", encoding="utf-8") as f: - config_remote = json.load(f) + resp = requests.get(remote_url, timeout=2) + resp.raise_for_status() + config_remote = resp.json() if not config_local == config_remote: print(f" > {model_name} is already downloaded however it has been changed. Redownloading it...")