1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Try to fix import issue.

This commit is contained in:
comfyanonymous
2023-03-06 14:41:42 -05:00
parent 235ba852d9
commit 0a0c769d6d

View File

@@ -11,7 +11,7 @@ from PIL import Image
from PIL.PngImagePlugin import PngInfo
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