Spaces:
Running on Zero
Running on Zero
Pin the weights to the revisions they are fetched at today.
Browse files
app.py
CHANGED
|
@@ -90,12 +90,15 @@ def _build_variant(name):
|
|
| 90 |
)
|
| 91 |
sync_omni_dim_with_text_encoder(model_config, extractor)
|
| 92 |
|
| 93 |
-
ckpt_path = hf_hub_download(repo_id=UNISON_REPO, filename=spec["ckpt_file"]
|
|
|
|
| 94 |
model = _load_model(types.SimpleNamespace(model_ckpt=ckpt_path), "cpu", model_config)
|
| 95 |
|
| 96 |
-
vae_ckpt_path = hf_hub_download(repo_id=MMAUDIO_REPO, filename=spec["vae_ckpt_file"]
|
|
|
|
| 97 |
vocoder_ckpt_path = (
|
| 98 |
-
hf_hub_download(repo_id=MMAUDIO_REPO, filename=spec["vocoder_ckpt_file"]
|
|
|
|
| 99 |
if spec["vocoder_ckpt_file"] else None
|
| 100 |
)
|
| 101 |
audio_vae = FeaturesUtils(
|
|
|
|
| 90 |
)
|
| 91 |
sync_omni_dim_with_text_encoder(model_config, extractor)
|
| 92 |
|
| 93 |
+
ckpt_path = hf_hub_download(repo_id=UNISON_REPO, filename=spec["ckpt_file"],
|
| 94 |
+
revision="2ff46ae70a190b490606a1a52975262ca6346540")
|
| 95 |
model = _load_model(types.SimpleNamespace(model_ckpt=ckpt_path), "cpu", model_config)
|
| 96 |
|
| 97 |
+
vae_ckpt_path = hf_hub_download(repo_id=MMAUDIO_REPO, filename=spec["vae_ckpt_file"],
|
| 98 |
+
revision="eb13a1a98fdbec91753775c57b074ccdfc60587c")
|
| 99 |
vocoder_ckpt_path = (
|
| 100 |
+
hf_hub_download(repo_id=MMAUDIO_REPO, filename=spec["vocoder_ckpt_file"],
|
| 101 |
+
revision="eb13a1a98fdbec91753775c57b074ccdfc60587c")
|
| 102 |
if spec["vocoder_ckpt_file"] else None
|
| 103 |
)
|
| 104 |
audio_vae = FeaturesUtils(
|