"""ComfyUI-UniverSR — vocoder-free audio super-resolution (8/12/16/24 kHz -> 48 kHz).""" NODE_CLASS_MAPPINGS = {} NODE_DISPLAY_NAME_MAPPINGS = {} try: from .nodes import NODE_CLASS_MAPPINGS as _sr_nodes, NODE_DISPLAY_NAME_MAPPINGS as _sr_display NODE_CLASS_MAPPINGS.update(_sr_nodes) NODE_DISPLAY_NAME_MAPPINGS.update(_sr_display) except Exception as e: # surface errors in the ComfyUI log without crashing startup print(f"[ComfyUI-UniverSR] Failed to load SR nodes: {e}") try: from .nodes_video import NODE_CLASS_MAPPINGS as _vid_nodes, NODE_DISPLAY_NAME_MAPPINGS as _vid_display NODE_CLASS_MAPPINGS.update(_vid_nodes) NODE_DISPLAY_NAME_MAPPINGS.update(_vid_display) except Exception as e: # video nodes are optional (need ffmpeg/soundfile) print(f"[ComfyUI-UniverSR] Failed to load video nodes: {e}") __all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]