Fly-ShuAI commited on
Commit
c412d8a
·
verified ·
1 Parent(s): ff06a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -23,13 +23,13 @@ from huggingface_hub import snapshot_download, hf_hub_download
23
  # resume_download=True,
24
  # repo_type="model"
25
  # )
26
- snapshot_download( # 下载整个仓库
27
- repo_id="alibaba-pai/Wan2.1-Fun-1.3B-Control",
28
- local_dir="ckpt/Wan2.1-Fun-1.3B-Control",
29
- local_dir_use_symlinks=False,
30
- resume_download=True,
31
- repo_type="model"
32
- )
33
 
34
  # rmbg_model = AutoModelForImageSegmentation.from_pretrained('ckpt/RMBG-2.0', trust_remote_code=True)
35
  # torch.set_float32_matmul_precision(['high', 'highest'][0])
 
23
  # resume_download=True,
24
  # repo_type="model"
25
  # )
26
+ # snapshot_download( # 下载整个仓库
27
+ # repo_id="alibaba-pai/Wan2.1-Fun-1.3B-Control",
28
+ # local_dir="ckpt/Wan2.1-Fun-1.3B-Control",
29
+ # local_dir_use_symlinks=False,
30
+ # resume_download=True,
31
+ # repo_type="model"
32
+ # )
33
 
34
  # rmbg_model = AutoModelForImageSegmentation.from_pretrained('ckpt/RMBG-2.0', trust_remote_code=True)
35
  # torch.set_float32_matmul_precision(['high', 'highest'][0])