Spaces:
Running
on
Zero
Running
on
Zero
Update app_fast.py
Browse files- app_fast.py +6 -6
app_fast.py
CHANGED
|
@@ -49,12 +49,12 @@ for pipe in [text_to_video_pipe, image_to_video_pipe]:
|
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
|
| 59 |
|
| 60 |
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
+
LORA_REPO_ID = "UnifiedHorusRA/Beauty_of_rain_Wan_2.1_2.2"
|
| 53 |
+
LORA_FILENAME = "beauty_of_rain_wan2_2_ti2v_5B.safetensors"
|
| 54 |
+
causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
| 55 |
+
pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
| 56 |
+
pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
| 57 |
+
pipe.fuse_lora()
|
| 58 |
|
| 59 |
|
| 60 |
|