diff --git a/__init__.py b/__init__.py index 461878e..cdb2e0c 100644 --- a/__init__.py +++ b/__init__.py @@ -1,12 +1,12 @@ -from custom_nodes.Comfy_KepListStuff.nodes.deprecated import StackImages -from custom_nodes.Comfy_KepListStuff.nodes.images import ( +from .nodes.deprecated import StackImages +from .nodes.images import ( ImageLabelOverlay, EmptyImages, XYImage, ImageListLoader, VariableImageBuilder, ) -from custom_nodes.Comfy_KepListStuff.nodes.list_utils import ( +from .nodes.list_utils import ( ListLengthNode, JoinFloatLists, JoinImageLists, @@ -16,13 +16,13 @@ JoinListAny, StringListFromNewline, ) -from custom_nodes.Comfy_KepListStuff.nodes.range_nodes import ( +from .nodes.range_nodes import ( IntRangeNode, FloatRangeNode, IntNumStepsRangeNode, FloatNumStepsRangeNode, ) -from custom_nodes.Comfy_KepListStuff.nodes.xy import UnzippedProductAny +from .nodes.xy import UnzippedProductAny NODE_CLASS_MAPPINGS = { "Range(Step) - Int": IntRangeNode, diff --git a/nodes/deprecated.py b/nodes/deprecated.py index 070de4b..16e24da 100644 --- a/nodes/deprecated.py +++ b/nodes/deprecated.py @@ -4,7 +4,7 @@ from torch import Tensor import matplotlib.font_manager as fm -from custom_nodes.Comfy_KepListStuff.utils import tensor2pil, pil2tensor +from ..utils import tensor2pil, pil2tensor # Hack: string type that is always equal in not equal comparisons class AnyType(str): diff --git a/nodes/images.py b/nodes/images.py index 1447979..4e5c8ba 100644 --- a/nodes/images.py +++ b/nodes/images.py @@ -7,7 +7,7 @@ import matplotlib.font_manager as fm from torch import Tensor -from custom_nodes.Comfy_KepListStuff.utils import ( +from ..utils import ( zip_with_fill, tensor2pil, pil2tensor, diff --git a/nodes/list_utils.py b/nodes/list_utils.py index 7d7eb74..7cdb10f 100644 --- a/nodes/list_utils.py +++ b/nodes/list_utils.py @@ -2,7 +2,7 @@ from torch import Tensor -from custom_nodes.Comfy_KepListStuff.utils import AnyType +from ..utils import AnyType any_type = AnyType("*") diff --git a/nodes/range_nodes.py b/nodes/range_nodes.py index cdc170f..1c26d5a 100644 --- a/nodes/range_nodes.py +++ b/nodes/range_nodes.py @@ -4,7 +4,7 @@ import numpy as np -from custom_nodes.Comfy_KepListStuff.utils import ( +from ..utils import ( error_if_mismatched_list_args, zip_with_fill, )