GiorgioV commited on
Commit
ea45b17
·
verified ·
1 Parent(s): 10812fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ pipe.set_adapters(["lightx2v", "lightx2v_2",
121
  "high_noise_lora1", "low_noise_lora1",
122
  "high_noise_lora2", "low_noise_lora2"], adapter_weights=[1., 1., 0.6, 0.7, 0.9, 0.9, 0.8, 0.8])
123
  # 修改了lora_scale
124
- pipe.fuse_lora(adapter_names=["lightx2v", "high_noise_lora", "high_noise_lora1", "high_noise_lora2"], lora_scales=[3.0, 3.0, 3.0, 3.0], components=["transformer"])
125
  # 修改了lora_scale
126
  pipe.fuse_lora(adapter_names=["lightx2v_2", "low_noise_lora", "low_noise_lora1", "low_noise_lora2"], lora_scales=[1.0, 1.0, 1.0, 1.0], components=["transformer_2"])
127
 
 
121
  "high_noise_lora1", "low_noise_lora1",
122
  "high_noise_lora2", "low_noise_lora2"], adapter_weights=[1., 1., 0.6, 0.7, 0.9, 0.9, 0.8, 0.8])
123
  # 修改了lora_scale
124
+ pipe.fuse_lora(adapter_names=["lightx2v", "high_noise_lora", "high_noise_lora1", "high_noise_lora2"], lora_scales=[1.0, 1.0, 1.0, 1.0], components=["transformer"])
125
  # 修改了lora_scale
126
  pipe.fuse_lora(adapter_names=["lightx2v_2", "low_noise_lora", "low_noise_lora1", "low_noise_lora2"], lora_scales=[1.0, 1.0, 1.0, 1.0], components=["transformer_2"])
127