Skip to content

Commit ac3a756

Browse files
committed
up
1 parent e9ad2d5 commit ac3a756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bark/generation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def autocast():
9090
GLOBAL_ENABLE_MPS = os.environ.get("SUNO_ENABLE_MPS", False)
9191
OFFLOAD_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

177177
def _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

0 commit comments

Comments
 (0)