GiorgioV commited on
Commit
08d6e5d
·
verified ·
1 Parent(s): cc3cc47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -8
app.py CHANGED
@@ -70,16 +70,31 @@ pipe.load_lora_weights(
70
 
71
  # 新增:加载你提供的high noise LoRA
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  pipe.load_lora_weights(
74
- "GiorgioV/LoRA_for_WAN_22",
75
- weight_name="DR34ML4Y_I2V_14B_HIGH.safetensors",
76
  adapter_name="high_noise_lora",
77
  token=os.environ.get("HF_TOKEN")
78
  )
79
  # 新增:加载你提供的low noise LoRA
80
  pipe.load_lora_weights(
81
- "GiorgioV/LoRA_for_WAN_22",
82
- weight_name="DR34ML4Y_I2V_14B_LOW.safetensors",
83
  adapter_name="low_noise_lora",
84
  token=os.environ.get("HF_TOKEN"),
85
  load_into_transformer_2=True
@@ -87,15 +102,15 @@ pipe.load_lora_weights(
87
 
88
 
89
  pipe.load_lora_weights(
90
- "profpeng/wananalsideview",
91
- weight_name="Wan2.2_Anal-v1-HighNoise-I2V_T2V.safetensors",
92
  adapter_name="high_noise_lora1",
93
  token=os.environ.get("HF_TOKEN")
94
  )
95
  # 新增:加载你提供的low noise LoRA
96
  pipe.load_lora_weights(
97
- "profpeng/wananalsideview",
98
- weight_name="Wan2.2_Anal-v1-LowNoise-I2V_T2V.safetensors",
99
  adapter_name="low_noise_lora1",
100
  token=os.environ.get("HF_TOKEN"),
101
  load_into_transformer_2=True
 
70
 
71
  # 新增:加载你提供的high noise LoRA
72
 
73
+ # pipe.load_lora_weights(
74
+ # "GiorgioV/LoRA_for_WAN_22",
75
+ # weight_name="DR34ML4Y_I2V_14B_HIGH.safetensors",
76
+ # adapter_name="high_noise_lora",
77
+ # token=os.environ.get("HF_TOKEN")
78
+ # )
79
+ # # 新增:加载你提供的low noise LoRA
80
+ # pipe.load_lora_weights(
81
+ # "GiorgioV/LoRA_for_WAN_22",
82
+ # weight_name="DR34ML4Y_I2V_14B_LOW.safetensors",
83
+ # adapter_name="low_noise_lora",
84
+ # token=os.environ.get("HF_TOKEN"),
85
+ # load_into_transformer_2=True
86
+ # )
87
+
88
  pipe.load_lora_weights(
89
+ "profpeng/nsfwv2",
90
+ weight_name="DR34ML4Y_I2V_14B_HIGH_V2.safetensors",
91
  adapter_name="high_noise_lora",
92
  token=os.environ.get("HF_TOKEN")
93
  )
94
  # 新增:加载你提供的low noise LoRA
95
  pipe.load_lora_weights(
96
+ "profpeng/nsfwv2",
97
+ weight_name="DR34ML4Y_I2V_14B_LOW_V2.safetensors",
98
  adapter_name="low_noise_lora",
99
  token=os.environ.get("HF_TOKEN"),
100
  load_into_transformer_2=True
 
102
 
103
 
104
  pipe.load_lora_weights(
105
+ "profpeng/wanlegupcutscenesex",
106
+ weight_name="sid3l3g_transition_v2.0_H.safetensors",
107
  adapter_name="high_noise_lora1",
108
  token=os.environ.get("HF_TOKEN")
109
  )
110
  # 新增:加载你提供的low noise LoRA
111
  pipe.load_lora_weights(
112
+ "profpeng/wanlegupcutscenesex",
113
+ weight_name="sid3l3g_transition_v2.0_L.safetensors",
114
  adapter_name="low_noise_lora1",
115
  token=os.environ.get("HF_TOKEN"),
116
  load_into_transformer_2=True