File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def autocast():
9090GLOBAL_ENABLE_MPS = os .environ .get ("SUNO_ENABLE_MPS" , False )
9191OFFLOAD_CPU = os .environ .get ("SUNO_OFFLOAD_CPU" , False )
9292
93- # REMOTE_BASE_URL = "https://dl.suno-models.io/bark/models/v0/"
93+ REMOTE_BASE_URL = "https://dl.suno-models.io/bark/models/v0/"
9494
9595# REMOTE_MODEL_PATHS = {
9696# "text_small": {
@@ -176,7 +176,7 @@ def _md5(fname):
176176
177177def _get_ckpt_path (model_type , use_small = False ):
178178 model_key = f"{ model_type } _small" if use_small or USE_SMALL_MODELS else model_type
179- model_name = _string_md5 (REMOTE_MODEL_PATHS [model_key ]["path " ])
179+ model_name = _string_md5 (REMOTE_MODEL_PATHS [model_key ]["file_name " ])
180180 return os .path .join (CACHE_DIR , f"{ model_name } .pt" )
181181
182182
You can’t perform that action at this time.
0 commit comments