mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-13 16:04:34 +08:00
Try to fix import issue.
This commit is contained in:
parent
235ba852d9
commit
0a0c769d6d
2
nodes.py
2
nodes.py
@ -11,7 +11,7 @@ from PIL import Image
|
|||||||
from PIL.PngImagePlugin import PngInfo
|
from PIL.PngImagePlugin import PngInfo
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(sys.path[0], "comfy"))
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy"))
|
||||||
|
|
||||||
|
|
||||||
import comfy.samplers
|
import comfy.samplers
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user