Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
a6fb107
1
Parent(s):
839c1dd
debug
Browse files- tools/download_files.py +6 -5
tools/download_files.py
CHANGED
|
@@ -89,11 +89,12 @@ def download_model_from_huggingface(destination,hf_cache_dir):
|
|
| 89 |
os.makedirs(os.path.join(hf_cache_dir,"models--facebook--w2v-bert-2.0"), exist_ok=True)
|
| 90 |
os.makedirs(os.path.join(hf_cache_dir, "models--nvidia--bigvgan_v2_22khz_80band_256x"), exist_ok=True)
|
| 91 |
os.makedirs(os.path.join(hf_cache_dir,"models--funasr--campplus"), exist_ok=True)
|
| 92 |
-
snapshot_download("IndexTeam/IndexTTS-2", local_dir=destination)
|
| 93 |
-
print("[HuggingFace] IndexTTS-2 Download finished")
|
| 94 |
-
snapshot_download("amphion/MaskGCT", local_dir=os.path.join(hf_cache_dir,"models--amphion--MaskGCT"))
|
| 95 |
-
print("[HuggingFace] MaskGCT Download finished")
|
| 96 |
-
snapshot_download("facebook/w2v-bert-2.0",local_dir=os.path.join(hf_cache_dir,"models--facebook--w2v-bert-2.0"))
|
|
|
|
| 97 |
print("[HuggingFace] w2v-bert-2.0 Download finished")
|
| 98 |
snapshot_download("nvidia/bigvgan_v2_22khz_80band_256x",local_dir=os.path.join(hf_cache_dir, "models--nvidia--bigvgan_v2_22khz_80band_256x"))
|
| 99 |
print("[HuggingFace] bigvgan_v2_22khz_80band_256x Download finished")
|
|
|
|
| 89 |
os.makedirs(os.path.join(hf_cache_dir,"models--facebook--w2v-bert-2.0"), exist_ok=True)
|
| 90 |
os.makedirs(os.path.join(hf_cache_dir, "models--nvidia--bigvgan_v2_22khz_80band_256x"), exist_ok=True)
|
| 91 |
os.makedirs(os.path.join(hf_cache_dir,"models--funasr--campplus"), exist_ok=True)
|
| 92 |
+
# snapshot_download("IndexTeam/IndexTTS-2", local_dir=destination)
|
| 93 |
+
# print("[HuggingFace] IndexTTS-2 Download finished")
|
| 94 |
+
# snapshot_download("amphion/MaskGCT", local_dir=os.path.join(hf_cache_dir,"models--amphion--MaskGCT"))
|
| 95 |
+
# print("[HuggingFace] MaskGCT Download finished")
|
| 96 |
+
# snapshot_download("facebook/w2v-bert-2.0",local_dir=os.path.join(hf_cache_dir,"models--facebook--w2v-bert-2.0"))
|
| 97 |
+
snapshot_download("facebook/w2v-bert-2.0")
|
| 98 |
print("[HuggingFace] w2v-bert-2.0 Download finished")
|
| 99 |
snapshot_download("nvidia/bigvgan_v2_22khz_80band_256x",local_dir=os.path.join(hf_cache_dir, "models--nvidia--bigvgan_v2_22khz_80band_256x"))
|
| 100 |
print("[HuggingFace] bigvgan_v2_22khz_80band_256x Download finished")
|