kemuriririn commited on
Commit
ff769a6
·
1 Parent(s): b4b8ec0

download index models

Browse files
Files changed (1) hide show
  1. tools/download_files.py +2 -2
tools/download_files.py CHANGED
@@ -89,8 +89,8 @@ 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"))
 
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"))