mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-02-24 03:59:38 +01:00
@@ -352,7 +352,9 @@ class ModelManager(object):
|
||||
remote_url = url
|
||||
break
|
||||
|
||||
config_remote = requests.get(remote_url, timeout=2).json()
|
||||
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...")
|
||||
|
||||
Reference in New Issue
Block a user