Files
SOLRICKS-comfyui-solricks/__init__.py
T

74 lines
2.0 KiB
Python

__version__ = "0.2.1"
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
try:
from .VideoAdaptiveAA import (
NODE_CLASS_MAPPINGS as AA_MAPPINGS,
NODE_DISPLAY_NAME_MAPPINGS as AA_NAMES,
)
NODE_CLASS_MAPPINGS.update(AA_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(AA_NAMES)
except Exception as e:
print(f"[SOLRICKS] VideoAdaptiveAA failed to load, skipped: {type(e).__name__}: {e}")
try:
from .VideoTAADLAA import (
NODE_CLASS_MAPPINGS as TAA_MAPPINGS,
NODE_DISPLAY_NAME_MAPPINGS as TAA_NAMES,
)
NODE_CLASS_MAPPINGS.update(TAA_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(TAA_NAMES)
except Exception as e:
print(f"[SOLRICKS] VideoTAADLAA failed to load: {type(e).__name__}: {e}")
try:
from .VideoDetailRefiner import (
NODE_CLASS_MAPPINGS as DETAIL_REFINER_MAPPINGS,
NODE_DISPLAY_NAME_MAPPINGS as DETAIL_REFINER_NAMES,
)
NODE_CLASS_MAPPINGS.update(DETAIL_REFINER_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(DETAIL_REFINER_NAMES)
except Exception as e:
print(f"[SOLRICKS] VideoDetailRefiner failed to load: {type(e).__name__}: {e}")
try:
from .VideoCinematicFX import (
NODE_CLASS_MAPPINGS as CINEMATIC_FX_MAPPINGS,
NODE_DISPLAY_NAME_MAPPINGS as CINEMATIC_FX_NAMES,
)
NODE_CLASS_MAPPINGS.update(CINEMATIC_FX_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(CINEMATIC_FX_NAMES)
except Exception as e:
print(f"[SOLRICKS] VideoCinematicFX failed to load: {type(e).__name__}: {e}")
try:
from .MiniMaxH3Upscaler import (
NODE_CLASS_MAPPINGS as H3_UPSCALER_MAPPINGS,
NODE_DISPLAY_NAME_MAPPINGS as H3_UPSCALER_NAMES,
)
NODE_CLASS_MAPPINGS.update(H3_UPSCALER_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(H3_UPSCALER_NAMES)
except Exception as e:
print(f"[SOLRICKS] MiniMaxH3Upscaler failed to load: {type(e).__name__}: {e}")
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]