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.

Fix k_diffusion not getting imported from the folder.

comfyanonymous3e22815a9af9
diff --git a/nodes.py b/nodes.py
index 698c06ce5..d3fe5f462 100644
--- a/nodes.py
+++ b/nodes.py
@@ -10,7 +10,7 @@ from PIL import Image
from PIL.PngImagePlugin import PngInfo
import numpy as np
-sys.path.append(os.path.join(sys.path[0], "comfy"))
+sys.path.insert(0, os.path.join(sys.path[0], "comfy"))
import comfy.samplers