-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
31 lines (26 loc) · 987 Bytes
/
__init__.py
File metadata and controls
31 lines (26 loc) · 987 Bytes
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
from .nodes.height_node import HeightNode
from .nodes.random_value_tracker import SeedHistory
from .nodes.sampler_selector import SamplerSelector
from .nodes.scheduler_selector import SchedulerSelector
from .nodes.width_height_node import WidthHeightNode
from .nodes.width_node import WidthNode
# Print startup message in blue
print("\033[94m[ComfyAssets Selectors] Loaded..\033[0m")
WEB_DIRECTORY = "./web"
NODE_CLASS_MAPPINGS = {
"SamplerSelector": SamplerSelector,
"SchedulerSelector": SchedulerSelector,
"SeedHistory": SeedHistory,
"WidthNode": WidthNode,
"HeightNode": HeightNode,
"WidthHeightNode": WidthHeightNode,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"SamplerSelector": "Sampler Selector",
"SchedulerSelector": "Scheduler Selector",
"SeedHistory": "Seed History",
"WidthNode": "Width",
"HeightNode": "Height",
"WidthHeightNode": "Width & Height",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]