diff --git a/_dataclass.py b/__dataclass.py similarity index 100% rename from _dataclass.py rename to __dataclass.py diff --git a/_funcs.py b/funcs.py similarity index 100% rename from _funcs.py rename to funcs.py diff --git a/_funcs_crop_pad.py b/funcs_crop_pad.py similarity index 97% rename from _funcs_crop_pad.py rename to funcs_crop_pad.py index cdc2d10..2caff07 100644 --- a/_funcs_crop_pad.py +++ b/funcs_crop_pad.py @@ -5,8 +5,8 @@ The actual behavior of "Upscaled Crop/Pad" node. import typing as _t -from ._dataclass import dataclass_with_slots_if_possible as _dataclass_with_slots_if_possible -from ._funcs import round_pos_int as _round_pos_int, _need_post_resize, _show_text_on_node +from .__dataclass import dataclass_with_slots_if_possible as _dataclass_with_slots_if_possible +from .funcs import round_pos_int as _round_pos_int, _need_post_resize, _show_text_on_node from .enums import * from .return_tuples import * diff --git a/node_crop_pad.py b/node_crop_pad.py index d996aaa..498a4ba 100644 --- a/node_crop_pad.py +++ b/node_crop_pad.py @@ -11,7 +11,7 @@ from frozendict import deepfreeze as _deepfreeze, frozendict as _frozendict from comfy.comfy_types.node_typing import IO as _IO -from ._funcs_crop_pad import upscaled_crop_pad as _upscaled_crop_pad +from .funcs_crop_pad import upscaled_crop_pad as _upscaled_crop_pad from . import _meta from .docstring_formatter import format_docstring as _format_docstring from .enums import * diff --git a/node_scale.py b/node_scale.py index 51e2533..d5bde35 100644 --- a/node_scale.py +++ b/node_scale.py @@ -11,7 +11,7 @@ from frozendict import deepfreeze as _deepfreeze from comfy.comfy_types.node_typing import IO as _IO -from ._funcs import simple_result_from_approx_wh as _simple_result_from_approx_wh +from .funcs import simple_result_from_approx_wh as _simple_result_from_approx_wh from . import _meta from .docstring_formatter import format_docstring as _format_docstring from .slot_types import ( diff --git a/node_upscale_by.py b/node_upscale_by.py index 3556d1d..86468f8 100644 --- a/node_upscale_by.py +++ b/node_upscale_by.py @@ -15,7 +15,7 @@ from comfy.comfy_types.node_typing import IO as _IO from . import _meta from .docstring_formatter import format_docstring as _format_docstring from .node_scale import _scale_type_dict as __scale_type_dict_base -from ._funcs import _show_text_on_node +from .funcs import _show_text_on_node # ========================================================== diff --git a/nodes_simple.py b/nodes_simple.py index 1ab39ca..758443d 100644 --- a/nodes_simple.py +++ b/nodes_simple.py @@ -13,7 +13,7 @@ from frozendict import deepfreeze as _deepfreeze from comfy.comfy_types.node_typing import IO as _IO -from ._funcs import ( +from .funcs import ( aspect_ratios_sorted as _aspect_ratios_sorted, number_to_int as _number_to_int, float_width_height_from_area as _float_width_height_from_area, diff --git a/nodes_upscale.py b/nodes_upscale.py index 06a60df..cd0ca73 100644 --- a/nodes_upscale.py +++ b/nodes_upscale.py @@ -11,7 +11,7 @@ from frozendict import deepfreeze as _deepfreeze, frozendict as _frozendict from comfy.comfy_types.node_typing import IO as _IO -from ._funcs import ( +from .funcs import ( number_to_int as _number_to_int, float_width_height_from_area as _float_width_height_from_area, upscale_result_from_approx_wh as _upscale_result_from_approx_wh