wedyanessam commited on
Commit
7577c3c
·
verified ·
1 Parent(s): 6af8e5d

Delete download_models.py

Browse files
Files changed (1) hide show
  1. download_models.py +0 -14
download_models.py DELETED
@@ -1,14 +0,0 @@
1
- import os
2
- from huggingface_hub import snapshot_download
3
-
4
- def maybe_download_model(repo_id, local_dir):
5
- if not os.path.exists(local_dir):
6
- print(f"Downloading {repo_id} into {local_dir}")
7
- snapshot_download(repo_id=repo_id, local_dir=local_dir, local_dir_use_symlinks=False)
8
- else:
9
- print(f"✅ {repo_id} already downloaded to {local_dir}")
10
-
11
- if __name__ == "__main__":
12
- maybe_download_model("wedyanessam/fantasy-talking-model2", "./models/fantasytalking_model")
13
- maybe_download_model("guoyww/wan-video", "./models/Wan2.1-I2V-14B-720P")
14
-