generated from jhj0517/ComfyUI-CustomNodes-Template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path__init__.py
24 lines (18 loc) · 941 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from .nodes import EncodedPromptToFile, EncodedPromptFromFile, SampledLatentsToFile, SampledLatentsFromFile, IO_LoadImage
# Map all your custom nodes classes with the names that will be displayed in the UI.
NODE_CLASS_MAPPINGS = {
"EncodedPromptToFile": EncodedPromptToFile,
"EncodedPromptFromFile": EncodedPromptFromFile,
"SampledLatentsToFile": SampledLatentsToFile,
"SampledLatentsFromFile": SampledLatentsFromFile,
"IO_LoadImage": IO_LoadImage,
}
NODE_DISPLAY_NAMES = {
"EncodedPromptToFile": "Encoded Prompt [to file] ►►► 💾",
"EncodedPromptFromFile": "Encoded Prompt [from file] ◄◄◄ 📁",
"SampledLatentsToFile": "Sampled Latents [to file] ►►► 💾",
"SampledLatentsFromFile": "Sampled Latents [from file] ◄◄◄ 📁",
"IO_LoadImage": "Load Image ◄◄◄ 📁",
}
WEB_DIRECTORY = "./web"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAMES', 'WEB_DIRECTORY']