Python
fixed crash when lora multiplier missing
DeepBeepMeep4103f5b9351f
diff --git a/wgp.py b/wgp.pyindex a72e6bf..f5e9c80 100644--- a/wgp.py+++ b/wgp.py@@ -3757,6 +3757,8 @@ def generate_video(loras_list_mult_choices_nums.append(mult)if len(loras_list_mult_choices_nums ) < len(activated_loras):loras_list_mult_choices_nums += [1.0] * ( len(activated_loras) - len(loras_list_mult_choices_nums ) )+ if len(loras_slists ) < len(activated_loras):+ loras_slists += [1.0] * ( len(activated_loras) - len(loras_slists ) )lora_dir = get_lora_dir(model_type)loras_selected = [ os.path.join(lora_dir, lora) for lora in activated_loras]