1 Star 0 Fork 15

雪狐/ComfyUI_Lam_1

forked from yanlang0123/ComfyUI_Lam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
TextListSelelct.py 618 Bytes
一键复制 编辑 原始数据 按行查看 历史
马噥 提交于 2024-03-06 18:19 +08:00 . 添加内循环插件,及几个辅助插件
class TextListSelelct:
def __init__(self):
pass
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"i": ("INT", {"default": 0, "min": 0, "max": 99999}),
"text_list": ("LIST", {"forceInput": True}),
}
}
RETURN_TYPES = ("STRING",)
FUNCTION = "text_list_select"
CATEGORY = "lam"
def text_list_select(self, i,text_list):
return (text_list[i], )
NODE_CLASS_MAPPINGS = {
"TextListSelelct": TextListSelelct
}
NODE_DISPLAY_NAME_MAPPINGS = {
"TextListSelelct": "文本列表选择"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/assassindesign/ComfyUI_Lam_1.git
git@gitee.com:assassindesign/ComfyUI_Lam_1.git
assassindesign
ComfyUI_Lam_1
ComfyUI_Lam_1
cu121

搜索帮助