yolain / ComfyUI-Easy-Use

In order to make it easier to use the ComfyUI, I have made some optimizations and integrations to some commonly used nodes.
GNU General Public License v3.0
1.1k stars 78 forks source link

text index switch #387

Closed K-O-N-B closed 2 months ago

K-O-N-B commented 2 months ago

由于找不到说明文档,所以想问一下这个node的逻辑 是不是从0至最后,输入第一个有内容的text?那么下面的选择框有什么用? image

yolain commented 2 months ago

这个节点和 easy anythingIndexSwitch 一样适配了惰性求值

选择框 index 为0 时 输出的text 为text0结果,为1时 输出为text1结果, 除被选择的项以外,其他输入索引前的节点将不会被执行。