This commit is contained in:
TiamaTiramisu
2025-04-20 23:29:17 +09:00
parent 5538bd3203
commit 4108ea7487
+1 -2
View File
@@ -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]":