ADD 增加视频帧位计算、字符串判空节点

PERF 重构项目结构
This commit is contained in:
2025-03-04 16:50:54 +08:00
parent e1849bb8b9
commit cafa224374
14 changed files with 718 additions and 650 deletions

View File

@@ -0,0 +1,21 @@
class StringEmptyJudgement:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"input": ("STRING", {"forceInput": True}),
},
}
RETURN_TYPES = ("BOOLEAN", )
RETURN_NAMES = ("是否为空", )
FUNCTION = "compute"
CATEGORY = "不忘科技-自定义节点🚩"
def compute(self, input):
if len(input) == 0:
return (True, )
else:
return (False, )