WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

Text Concatenate - How to use \n as a delimiter? #400

Open ghostsquad opened 4 months ago

ghostsquad commented 4 months ago

I tried using \n and after reading the code, \\n as a delimiter, and it always just prints the literal string \n or \\n instead. Am I doing something wrong?

https://github.com/WASasquatch/was-node-suite-comfyui/blob/main/WAS_Node_Suite.py#L10113

WAS-PlaiLabs commented 4 months ago

There is no line break option on it currently that I am aware of. I recently encountered this with LLMs and had to just include the line break in my first text and concatenate by space, oof.

I'll look into improving it soon ish.