rahul7star commited on
Commit
cae9c53
·
verified ·
1 Parent(s): d332020

Update app_fast.py

Browse files
Files changed (1) hide show
  1. app_fast.py +11 -5
app_fast.py CHANGED
@@ -48,17 +48,23 @@ for pipe in [text_to_video_pipe, image_to_video_pipe]:
48
  # pipe.fuse_lora()
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
-
61
-
62
  # Constants
63
  MOD_VALUE = 32
64
  DEFAULT_H_SLIDER_VALUE = 896
 
48
  # pipe.fuse_lora()
49
 
50
 
51
+ ## works
52
 
53
+ # LORA_REPO_ID = "UnifiedHorusRA/Beauty_of_rain_Wan_2.1_2.2"
54
+ # LORA_FILENAME = "beauty_of_rain_wan2_2_ti2v_5B.safetensors"
55
+ # causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
56
+ # pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
57
+ # pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
58
+ # pipe.fuse_lora()
59
+
60
+
61
+ LORA_REPO_ID = "UnifiedHorusRA/Missionary_POV_Wan_2.2_5B_LoRA"
62
+ LORA_FILENAME = "missionary-pov-wan2.2_5b-v1.0-vfxai.safetensors"
63
  causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
64
  pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
65
  pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
66
  pipe.fuse_lora()
67
 
 
 
 
68
  # Constants
69
  MOD_VALUE = 32
70
  DEFAULT_H_SLIDER_VALUE = 896