Files
blepping-ComfyUI-bleh/__init__.py
T
blepping c09c458842 Support LTX 2.3 (normal and wide) TAE video models.
Publish last preview improvements.
More weird blend modes.
Add BlehBlendConditioning node that supports multiple items on both sides
2026-03-12 06:37:02 -06:00

36 lines
847 B
Python

import sys
import nodes
from . import py
from .py import settings
from .py.nodes import samplers
BLEH_VERSION = 2
settings.load_settings()
from .py.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
def blep_init():
bi = sys.modules.get("_blepping_integrations", {})
if "bleh" in bi:
return
bi["bleh"] = sys.modules[__name__]
sys.modules["_blepping_integrations"] = bi
nodes._blepping_integrations = bi # noqa: SLF001
samplers.add_sampler_presets()
if settings.SETTINGS.btp_publish_last_preview:
from .py.better_previews import last_preview # noqa: PLC0415
last_preview.init_routes(
min_refresh=settings.SETTINGS.btp_publish_last_preview_min_refresh,
)
blep_init()
__all__ = ("BLEH_VERSION", "NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "py")