1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Nodes now support single line string properties.

Resize nodes automatically if they are too small because of added properties.
This commit is contained in:
comfyanonymous
2023-01-24 02:08:54 -05:00
parent a37261bb4b
commit a34cde08cb
2 changed files with 85 additions and 63 deletions

View File

@@ -28,7 +28,7 @@ def filter_files_extensions(files, extensions):
class CLIPTextEncode:
@classmethod
def INPUT_TYPES(s):
return {"required": {"text": ("STRING", ), "clip": ("CLIP", )}}
return {"required": {"text": ("STRING", {"multiline": True}), "clip": ("CLIP", )}}
RETURN_TYPES = ("CONDITIONING",)
FUNCTION = "encode"