-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
34 lines (30 loc) · 1.06 KB
/
Copy path__init__.py
File metadata and controls
34 lines (30 loc) · 1.06 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
from .offload_recall import OffloadModel, RecallModel
from .cache_any import CacheAny
from .md5_hash import AnyToHash, AnyToHashMulti
from .wait import Wait, WaitMulti
from .reroute_triggerable import RerouteTriggerable
# Blind ComfyUI needs to be told where to look for js code
WEB_DIRECTORY = "./js"
# A dictionary that contains all nodes you want to export with their names
# NOTE: names should be globally unique
NODE_CLASS_MAPPINGS = {
"OffloadModelv2": OffloadModel,
"RecallModelv2": RecallModel,
"CacheAny": CacheAny,
"AnyToHash": AnyToHash,
"AnyToHashMulti": AnyToHashMulti,
"Wait": Wait,
"WaitMulti": WaitMulti,
"RerouteTriggerable": RerouteTriggerable
}
NODE_DISPLAY_NAME_MAPPINGS = {
"OffloadModelv2": "Model Offload",
"RecallModelv2": "Model Recall",
"CacheAny": "Cache any",
"AnyToHash" : "any to hash",
"AnyToHashMulti" : "any to hash x2",
"Wait": "Wait",
"WaitMulti": "Wait xN",
"RerouteTriggerable": "Reroute Triggerable"
}
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']