-
Notifications
You must be signed in to change notification settings - Fork 3
/
__init__.py
32 lines (23 loc) · 812 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
25
26
27
28
29
30
31
32
"""
@author: VanillaCode314
@title: Simple Wildcard
@nickname: Simple Wildcard
@description: A simple wildcard node for ComfyUI. Can also be used a style prompt node.
"""
import os
def do_install():
import importlib
spec = importlib.util.spec_from_file_location(
"simple_install", os.path.join(os.path.dirname(__file__), "install.py")
)
simple_install = importlib.util.module_from_spec(spec)
spec.loader.exec_module(simple_install)
do_install()
from .wildcard import SimpleWildcard
from .concat import SimpleConcat
NODE_CLASS_MAPPINGS = {"SimpleWildcard": SimpleWildcard, "SimpleConcat": SimpleConcat}
NODE_DISPLAY_NAME_MAPPINGS = {
"SimpleWildcard": "SimpleWildcard",
"SimpleConcat": "SimpleConcat",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]