cocktailpeanut commited on
Commit
103de4f
1 Parent(s): 1fb1a4d
Files changed (1) hide show
  1. melo/download_utils.py +2 -1
melo/download_utils.py CHANGED
@@ -35,7 +35,8 @@ def load_or_download_config(locale):
35
  # download
36
  os.makedirs(os.path.dirname(config_path), exist_ok=True)
37
  #os.system(f'wget {DOWNLOAD_CONFIG_URLS[language]} -O {config_path}')
38
- os.system(f'curl -L {DOWNLOAD_CONFIG_URLS[language]} -O {config_path}')
 
39
  return utils.get_hparams_from_file(config_path)
40
 
41
  def load_or_download_model(locale, device):
 
35
  # download
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 -L {DOWNLOAD_CONFIG_URLS[language]} -O {config_path}")
40
  return utils.get_hparams_from_file(config_path)
41
 
42
  def load_or_download_model(locale, device):