Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#2
by
Unpack
- opened
app.py
CHANGED
|
@@ -119,7 +119,7 @@ pipe.load_lora_weights(
|
|
| 119 |
pipe.set_adapters(["lightx2v", "lightx2v_2",
|
| 120 |
"high_noise_lora", "low_noise_lora",
|
| 121 |
"high_noise_lora1", "low_noise_lora1",
|
| 122 |
-
"high_noise_lora2", "low_noise_lora2"], adapter_weights=[1., 1., 0.8, 0.9, 0.4,
|
| 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
|
|
|
|
| 119 |
pipe.set_adapters(["lightx2v", "lightx2v_2",
|
| 120 |
"high_noise_lora", "low_noise_lora",
|
| 121 |
"high_noise_lora1", "low_noise_lora1",
|
| 122 |
+
"high_noise_lora2", "low_noise_lora2"], adapter_weights=[1., 1., 0.8, 0.9, 0.4, 0.8, 0.5, 0.5])
|
| 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
|