File size: 654 Bytes
6daffc2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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"]