From f28461ed25167e936255aee94fbaf23016cb90d5 Mon Sep 17 00:00:00 2001 From: Barak Karavani Date: Wed, 26 Mar 2025 20:51:07 -0700 Subject: [PATCH] Fix LoadWanFunLora (#128) --- comfyui/wan2_1_fun/nodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comfyui/wan2_1_fun/nodes.py b/comfyui/wan2_1_fun/nodes.py index 2b18b1f..630071b 100755 --- a/comfyui/wan2_1_fun/nodes.py +++ b/comfyui/wan2_1_fun/nodes.py @@ -234,7 +234,6 @@ class LoadWanFunLora: "funmodels": ("FunModels",), "lora_name": (folder_paths.get_filename_list("loras"), {"default": None,}), "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01}), - "lora_cache":([False, True], {"default": False,}), } } RETURN_TYPES = ("FunModels",) @@ -251,6 +250,8 @@ class LoadWanFunLora: 'model_name': funmodels["model_name"], 'loras': funmodels.get("loras", []) + [folder_paths.get_full_path("loras", lora_name)], 'strength_model': funmodels.get("strength_model", []) + [strength_model], + 'config': funmodels["config"], + 'model_type': funmodels["model_type"], }, ) else: