From 4108ea7487ba1570d9555338102fad425ecb37f7 Mon Sep 17 00:00:00 2001 From: TiamaTiramisu Date: Sun, 20 Apr 2025 23:29:17 +0900 Subject: [PATCH] fix --- src/risutools/nodes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/risutools/nodes.py b/src/risutools/nodes.py index b0d9ced..86f98dd 100644 --- a/src/risutools/nodes.py +++ b/src/risutools/nodes.py @@ -108,7 +108,6 @@ 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 { @@ -131,7 +130,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]":