diff --git a/nodes.py b/nodes.py index 5a9d42d4a..fca98bf79 100644 --- a/nodes.py +++ b/nodes.py @@ -19,7 +19,7 @@ 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")) +sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy")) import comfy.diffusers_load import comfy.samplers