Files
city96-ComfyUI_NetDist/__init__.py
T
City 4c668c91f0 Rewrite part 1
Let's try this again
2024-01-04 00:28:15 +01:00

20 lines
587 B
Python

# only import if running as a custom node
try:
import comfy.utils
except ImportError:
pass
else:
NODE_CLASS_MAPPINGS = {}
from .nodes.images import NODE_CLASS_MAPPINGS as ImgNodes
NODE_CLASS_MAPPINGS.update(ImgNodes)
from .nodes.simple import NODE_CLASS_MAPPINGS as NetNodes
NODE_CLASS_MAPPINGS.update(NetNodes)
from .nodes.advanced import NODE_CLASS_MAPPINGS as AdvNodes
NODE_CLASS_MAPPINGS.update(AdvNodes)
NODE_DISPLAY_NAME_MAPPINGS = {k:v.TITLE for k,v in NODE_CLASS_MAPPINGS.items()}
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']