diff --git a/src/risutools/nodes.py b/src/risutools/nodes.py index 86f98dd..b0d9ced 100644 --- a/src/risutools/nodes.py +++ b/src/risutools/nodes.py @@ -108,6 +108,7 @@ class LoadImageFromText: @classmethod def INPUT_TYPES(cls): """ + Return a dictionary which contains config for all input fields. It is almost the same as LoadImage: https://github.com/comfyanonymous/ComfyUI/blob/fd274944418f1148b762a6e2d37efa820a569071/nodes.py#L1641 """ return { @@ -130,7 +131,7 @@ class LoadImageFromText: CATEGORY = "RisuTools/image" - def load_image_from_text(self, name, prefix, directory : Literal["[input]", "[output]"]): + def load_image_from_text(self, name, prefix, directory : Literal["[input]", "[output]"], ): image_path = None match directory: case "[input]":