Skip to content
Python

fixed shameful bug: Wan 2.2 low loras x were incorretly replace by high loras x

deepbeepmeep51341ac1c1bd
diff --git a/models/wan/any2video.py b/models/wan/any2video.py
index 9528540..c879701 100644
--- a/models/wan/any2video.py
+++ b/models/wan/any2video.py
@@ -753,6 +753,7 @@ class WanAny2V:
model_switch_step = i
break
update_loras_slists(self.model, loras_slists, updated_num_steps, model_switch_step= model_switch_step)
+ if self.model2 is not None: update_loras_slists(self.model2, loras_slists, updated_num_steps, model_switch_step= model_switch_step)
callback(-1, None, True, override_num_inference_steps = updated_num_steps)
if sample_scheduler != None: