Files
blepping-ComfyUI-bleh/__init__.py
T
blepping 01a45cbed4 Support for TAE video models and video frame previewing.
Added a BlehEnsurePreviewer node to make sure Bleh previews get used.

Many new blend modes.

Removed match statements for better compatibility with old Python.

Better (hopefully) heuristic for arranging batch/multi-frame previews.

Internal refactoring/code cleanups.

Documentation updates.
2025-05-04 08:13:24 -06:00

29 lines
553 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 = getattr(nodes, "_blepping_integrations", {})
if "bleh" in bi:
return
bi["bleh"] = sys.modules[__name__]
nodes._blepping_integrations = bi # noqa: SLF001
samplers.add_sampler_presets()
blep_init()
__all__ = ("BLEH_VERSION", "NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "py")