rahul7star commited on
Commit
92b9250
·
verified ·
1 Parent(s): 7a97af0

Update app_fast.py

Browse files
Files changed (1) hide show
  1. app_fast.py +11 -4
app_fast.py CHANGED
@@ -38,8 +38,17 @@ for pipe in [text_to_video_pipe, image_to_video_pipe]:
38
 
39
 
40
 
41
- LORA_REPO_ID = "AlekseyCalvin/HSToric_Color_Wan2.2_5B_LoRA_BySilverAgePoets"
42
- LORA_FILENAME = "HSToric_color_Wan22_5b_LoRA.safetensors"
 
 
 
 
 
 
 
 
 
43
  causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
44
  pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
45
  pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
@@ -48,8 +57,6 @@ pipe.fuse_lora()
48
 
49
 
50
 
51
-
52
-
53
  # Constants
54
  MOD_VALUE = 32
55
  DEFAULT_H_SLIDER_VALUE = 896
 
38
 
39
 
40
 
41
+ # LORA_REPO_ID = "AlekseyCalvin/HSToric_Color_Wan2.2_5B_LoRA_BySilverAgePoets"
42
+ # LORA_FILENAME = "HSToric_color_Wan22_5b_LoRA.safetensors"
43
+ # causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
44
+ # pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
45
+ # pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
46
+ # pipe.fuse_lora()
47
+
48
+
49
+
50
+ LORA_REPO_ID = "TheRaf7/ultra-real-wan2.2"
51
+ LORA_FILENAME = "Lenovo(1).safetensors"
52
  causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
53
  pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
54
  pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
 
57
 
58
 
59
 
 
 
60
  # Constants
61
  MOD_VALUE = 32
62
  DEFAULT_H_SLIDER_VALUE = 896