From 925f5024cf3e85dee4c05621297ae7dd7fa8fbc9 Mon Sep 17 00:00:00 2001 From: sylym Date: Thu, 30 Mar 2023 11:56:35 +0800 Subject: [PATCH] fix path error --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 9b7aef5..6b823c0 100644 --- a/__init__.py +++ b/__init__.py @@ -113,7 +113,7 @@ class KSamplerSequence: 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 def INPUT_TYPES(s): if not os.path.exists(s.input_dir): @@ -199,7 +199,7 @@ class VAEEncodeForInpaintSequence: 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 def INPUT_TYPES(s): if not os.path.exists(s.input_dir):