Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
0d25e21
1
Parent(s):
e116204
update
Browse files- melo/download_utils.py +1 -1
melo/download_utils.py
CHANGED
@@ -36,7 +36,7 @@ def load_or_download_config(locale):
|
|
36 |
os.makedirs(os.path.dirname(config_path), exist_ok=True)
|
37 |
#os.system(f'wget {DOWNLOAD_CONFIG_URLS[language]} -O {config_path}')
|
38 |
print(f"URL = {DOWNLOAD_CONFIG_URLS[language]}")
|
39 |
-
os.system(f"curl -o {config_path {DOWNLOAD_CONFIG_URLS[language]}")
|
40 |
return utils.get_hparams_from_file(config_path)
|
41 |
|
42 |
def load_or_download_model(locale, device):
|
|
|
36 |
os.makedirs(os.path.dirname(config_path), exist_ok=True)
|
37 |
#os.system(f'wget {DOWNLOAD_CONFIG_URLS[language]} -O {config_path}')
|
38 |
print(f"URL = {DOWNLOAD_CONFIG_URLS[language]}")
|
39 |
+
os.system(f"curl -o {config_path} {DOWNLOAD_CONFIG_URLS[language]}")
|
40 |
return utils.get_hparams_from_file(config_path)
|
41 |
|
42 |
def load_or_download_model(locale, device):
|