The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Remove unused imports and variables.
comfyanonymous657963220131
diff --git a/nodes.py b/nodes.pyindex 1cb4b5a5a..b6e2465f6 100644--- a/nodes.py+++ b/nodes.py@@ -11,7 +11,7 @@ import timeimport randomimport logging-from PIL import Image, ImageOps, ImageSequence, ImageFile+from PIL import Image, ImageOps, ImageSequencefrom PIL.PngImagePlugin import PngInfoimport numpy as np@@ -644,9 +644,7 @@ class LoraLoader:if self.loaded_lora[0] == lora_path:lora = self.loaded_lora[1]else:- temp = self.loaded_loraself.loaded_lora = None- del tempif lora is None:lora = comfy.utils.load_torch_file(lora_path, safe_load=True)