forked from roadmaus/ComfyUI-Continuity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
32 lines (26 loc) · 1.71 KB
/
Copy path__init__.py
File metadata and controls
32 lines (26 loc) · 1.71 KB
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
"""What ComfyUI loads. The pack itself is `creator/`.
Everything used to sit here, at the root of the clone, which put thirty-four
modules in the same listing as the README, the tests, the docs and the vendored
tools — and gave the code no boundary to be inside of. It is a package now, and
this file is what ComfyUI still finds: the entry point it imports, the two
route modules that register themselves, and where the frontend lives.
Two things deliberately did *not* move. `locales/` stays at the root because
ComfyUI reads it from the custom-node directory itself rather than from any
module (`app/custom_node_manager.py`), so a translation filed under `creator/`
would be a translation nobody loads. And the node class ids inside are frozen
whatever the directories do — they are what saved workflows name.
"""
from .creator import metal
metal.protect_h3_mps()
from .creator import refine_routes # noqa: F401 (registers /continuity/refine)
from .creator import server_routes # noqa: F401 (registers /continuity/assets)
from .creator.creator_node import comfy_entrypoint # noqa: F401
from .creator.routes import blockout # noqa: F401 (registers /continuity/blockout)
from .creator.routes import chat # noqa: F401 (registers /continuity/chat)
from .creator.routes import control # noqa: F401 (registers /continuity/control)
from .creator.routes import families # noqa: F401 (registers /continuity/families)
from .creator.routes import neural # noqa: F401 (registers /continuity/neural)
from .creator.routes import refmod # noqa: F401 (registers /continuity/refmod)
from .creator.routes import upscale # noqa: F401 (registers /continuity/upscale)
WEB_DIRECTORY = "./web"
__all__ = ["comfy_entrypoint", "WEB_DIRECTORY"]