Repository navigation
Expand file tree
/
Copy path__init__.py
More file actions
54 lines (46 loc) · 1.8 KB
/
Copy path__init__.py
File metadata and controls
54 lines (46 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#from comfy_api.latest import ComfyExtension, io
from .src import *
# async def comfy_entrypoint() -> ComfyExtension:
# class OutputListsCombiner(ComfyExtension):
# async def get_node_list(self) -> list[type[io.ComfyNode]]:
# return [
# ]
# return OutputListsCombiner()
WEB_DIRECTORY = "./web"
NODE_CLASS_MAPPINGS = {
"StringOutputList" : StringOutputList,
"NumberOutputList" : NumberOutputList,
"JSONOutputList" : JSONOutputList,
"SpreadsheetOutputList" : SpreadsheetOutputList,
"CombineOutputLists" : CombineOutputLists,
"XyzGridPlot" : XyzGridPlot,
"WorkflowDiscriminator" : WorkflowDiscriminator,
"FormattedString" : FormattedString,
"ConvertNumberToIntFloatStr" : ConvertNumberToIntFloatStr,
"LoadAnyFile" : LoadAnyFile,
"LoadAnyVideo" : LoadAnyVideo,
"PathOutputList" : PathOutputList,
"KSamplerImmediateSave" : KSamplerImmediateSave,
"IterateBegin" : IterateBegin,
"IterateEnd" : IterateEnd,
"BakeString" : BakeString,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"StringOutputList" : "String OutputList",
"NumberOutputList" : "Number OutputList",
"JSONOutputList" : "JSON OutputList",
"SpreadsheetOutputList" : "Spreadsheet OutputList",
"CombineOutputLists" : "Combine OutputLists",
"XyzGridPlot" : "Xyz Grid Plot",
"WorkflowDiscriminator" : "Workflow Discriminator",
"FormattedString" : "Formatted String",
"ConvertNumberToIntFloatStr" : "Convert Number to Int/Float/Str",
"LoadAnyFile" : "Load Any File",
"LoadAnyVideo" : "Load Any Video",
"PathOutputList" : "Path OutputList",
"KSamplerImmediateSave" : "KSampler Immediate Save",
"IterateBegin" : "Iterate Begin",
"IterateEnd" : "Iterate End",
"BakeString" : "Bake String",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]