The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Patch del self.loaded_lora to prevent error with persistent lora_name swapping
ComfyUI-Communitya8f3bbc35d34
diff --git a/nodes.py b/nodes.pyindex 32bcf141d..a1c4b8437 100644--- a/nodes.py+++ b/nodes.py@@ -497,7 +497,9 @@ class LoraLoader: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 tempif lora is None:lora = comfy.utils.load_torch_file(lora_path, safe_load=True)