fix path error
This commit is contained in:
+2
-2
@@ -113,7 +113,7 @@ class KSamplerSequence:
|
|||||||
|
|
||||||
|
|
||||||
class LoadImageSequence:
|
class LoadImageSequence:
|
||||||
input_dir = os.path.realpath("input")
|
input_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))), 'input')
|
||||||
@classmethod
|
@classmethod
|
||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
if not os.path.exists(s.input_dir):
|
if not os.path.exists(s.input_dir):
|
||||||
@@ -199,7 +199,7 @@ class VAEEncodeForInpaintSequence:
|
|||||||
|
|
||||||
|
|
||||||
class LoadImageMaskSequence:
|
class LoadImageMaskSequence:
|
||||||
input_dir = os.path.realpath("input")
|
input_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))), 'input')
|
||||||
@classmethod
|
@classmethod
|
||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
if not os.path.exists(s.input_dir):
|
if not os.path.exists(s.input_dir):
|
||||||
|
|||||||
Reference in New Issue
Block a user