Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Revert, NOTE: this will be removed again soon please fix your nodes.

comfyanonymousd14bdb18967f
diff --git a/nodes.py b/nodes.py
index d24df200c..453f6e606 100644
--- a/nodes.py
+++ b/nodes.py
@@ -15,6 +15,9 @@ from PIL.PngImagePlugin import PngInfo
import numpy as np
import safetensors.torch
+sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy"))
+
+
import comfy.diffusers_load
import comfy.samplers
import comfy.sample