rahul7star commited on
Commit
e592b42
·
verified ·
1 Parent(s): 65d89cc

Update wan2_fast.py

Browse files
Files changed (1) hide show
  1. wan2_fast.py +6 -6
wan2_fast.py CHANGED
@@ -79,12 +79,12 @@ torch.cuda.empty_cache()
79
 
80
 
81
 
82
- LORA_REPO_ID = "yeqiu168182/NSFW-22-H-e8"
83
- LORA_FILENAME = "NSFW-22-H-e8.safetensors"
84
- causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
85
- pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
86
- pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
87
- pipe.fuse_lora()
88
 
89
 
90
  # LORA_REPO_ID = "Kijai/WanVideo_comfy"
 
79
 
80
 
81
 
82
+ # LORA_REPO_ID = "yeqiu168182/NSFW-22-H-e8"
83
+ # LORA_FILENAME = "NSFW-22-H-e8.safetensors"
84
+ # causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
85
+ # pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
86
+ # pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
87
+ # pipe.fuse_lora()
88
 
89
 
90
  # LORA_REPO_ID = "Kijai/WanVideo_comfy"