# only import if running as a custom node | |
try: | |
import comfy.utils | |
except ImportError: | |
pass | |
else: | |
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS | |
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] | |
# only import if running as a custom node | |
try: | |
import comfy.utils | |
except ImportError: | |
pass | |
else: | |
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS | |
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] | |