dflow_2b / __init__.py
data-archetype's picture
dflow_2b 0.2
6daffc2
Raw History Blame Contribute Delete
654 Bytes
# SPDX-License-Identifier: GPL-3.0-only
# Copyright 2026 Data Archetype
"""ComfyUI entry point of the dflow_2b repository (installed as its root
``__init__.py``).
ComfyUI imports the repository folder as a package and reads
``NODE_CLASS_MAPPINGS``, ``NODE_DISPLAY_NAME_MAPPINGS`` and ``WEB_DIRECTORY``.
Outside a package (a pip build, or a test run collecting this file) nothing
is imported, so ``comfy`` is never required there.
"""
if __package__:
from .comfyui.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
WEB_DIRECTORY = "./comfyui/web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]