diff --git a/nodes.py b/nodes.py index 32bcf141d13..a1c4b843790 100644 --- a/nodes.py +++ b/nodes.py @@ -497,7 +497,9 @@ def load_lora(self, model, clip, lora_name, strength_model, strength_clip): if self.loaded_lora[0] == lora_path: lora = self.loaded_lora[1] else: - del self.loaded_lora + temp = self.loaded_lora + self.loaded_lora = None + del temp if lora is None: lora = comfy.utils.load_torch_file(lora_path, safe_load=True)