Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,12 +53,12 @@ optimize_pipeline_(pipe,
|
|
| 53 |
)
|
| 54 |
|
| 55 |
## LORA TEST
|
| 56 |
-
LORA_REPO_ID = "Kijai/WanVideo_comfy"
|
| 57 |
-
LORA_FILENAME = "Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors"
|
| 58 |
-
causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
| 59 |
-
pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
| 60 |
-
pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
| 61 |
-
pipe.fuse_lora()
|
| 62 |
|
| 63 |
|
| 64 |
|
|
|
|
| 53 |
)
|
| 54 |
|
| 55 |
## LORA TEST
|
| 56 |
+
# LORA_REPO_ID = "Kijai/WanVideo_comfy"
|
| 57 |
+
# LORA_FILENAME = "Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors"
|
| 58 |
+
# causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
| 59 |
+
# pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
| 60 |
+
# pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
| 61 |
+
# pipe.fuse_lora()
|
| 62 |
|
| 63 |
|
| 64 |
|