Spaces:
Running
on
Zero
Running
on
Zero
Update app_fast_CPU.py
Browse files- app_fast_CPU.py +6 -6
app_fast_CPU.py
CHANGED
|
@@ -96,10 +96,10 @@ pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
-
LORA_REPO_ID1 = "UnifiedHorusRA/Cowgirl_WAN2.2_5B"
|
| 100 |
-
LORA_FILENAME1 = "wan2.2_5b_c0wg1rl_72_000002500.safetensors"
|
| 101 |
-
causvid_path1 = hf_hub_download(repo_id=LORA_REPO_ID1, filename=LORA_FILENAME1)
|
| 102 |
-
pipe.load_lora_weights(causvid_path1, adapter_name="causvid_lora1")
|
| 103 |
|
| 104 |
# LORA_REPO_ID1 = "UnifiedHorusRA/Lora_Anal_WAN2.2_5B_TI2V"
|
| 105 |
# LORA_FILENAME1 = "wan2.2_5B_it2v_greek.safetensors"
|
|
@@ -108,10 +108,10 @@ pipe.load_lora_weights(causvid_path1, adapter_name="causvid_lora1")
|
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
-
pipe.set_adapters(["causvid_lora","causvid_lora1"], adapter_weights=[0.95,0.95])
|
| 112 |
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
pipe.fuse_lora()
|
| 117 |
|
|
|
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
+
# LORA_REPO_ID1 = "UnifiedHorusRA/Cowgirl_WAN2.2_5B"
|
| 100 |
+
# LORA_FILENAME1 = "wan2.2_5b_c0wg1rl_72_000002500.safetensors"
|
| 101 |
+
# causvid_path1 = hf_hub_download(repo_id=LORA_REPO_ID1, filename=LORA_FILENAME1)
|
| 102 |
+
# pipe.load_lora_weights(causvid_path1, adapter_name="causvid_lora1")
|
| 103 |
|
| 104 |
# LORA_REPO_ID1 = "UnifiedHorusRA/Lora_Anal_WAN2.2_5B_TI2V"
|
| 105 |
# LORA_FILENAME1 = "wan2.2_5B_it2v_greek.safetensors"
|
|
|
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
+
#pipe.set_adapters(["causvid_lora","causvid_lora1"], adapter_weights=[0.95,0.95])
|
| 112 |
|
| 113 |
|
| 114 |
+
pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
| 115 |
|
| 116 |
pipe.fuse_lora()
|
| 117 |
|