The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Cleanup.
comfyanonymous44fea0506493
diff --git a/comfy/diffusers_convert.py b/comfy/diffusers_convert.pyindex 950137f2c..ceca80305 100644--- a/comfy/diffusers_convert.py+++ b/comfy/diffusers_convert.py@@ -2,10 +2,6 @@ import jsonimport osimport yaml-# because of local import nonsense-import sys-sys.path.append(os.path.dirname(os.path.realpath(__file__)))-import folder_pathsfrom comfy.ldm.util import instantiate_from_configfrom comfy.sd import ModelPatcher, load_model_weights, CLIP, VAEdiff --git a/nodes.py b/nodes.pyindex 025e4fcb4..5c3b3a4ee 100644--- a/nodes.py+++ b/nodes.py@@ -10,11 +10,11 @@ from PIL import Imagefrom PIL.PngImagePlugin import PngInfoimport numpy as np-from comfy.diffusers_convert import load_diffuserssys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy"))+import comfy.diffusers_convertimport comfy.samplersimport comfy.sdimport comfy.utils@@ -241,7 +241,7 @@ class DiffusersLoader:model_path = os.path.join(search_path, model_path)break- return load_diffusers(model_path, fp16=model_management.should_use_fp16(), output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings"))+ return comfy.diffusers_convert.load_diffusers(model_path, fp16=model_management.should_use_fp16(), output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings"))class unCLIPCheckpointLoader: