Files
uczensokratesa-ComfyUI-Grok…/__init__.py
2026-02-27 14:38:47 +01:00

38 lines
1.6 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
ComfyUI-Grok-SmartVAE
Custom nodes for advanced VAE decoding and latent handling
"""
from .UniversalSmartVAEDecode import NODE_CLASS_MAPPINGS as UniversalSmartVAEDecode_mappings, \
NODE_DISPLAY_NAME_MAPPINGS as UniversalSmartVAEDecode_display
from .universal_smart_vae_video_decode import NODE_CLASS_MAPPINGS as StreamingDecoder_mappings, \
NODE_DISPLAY_NAME_MAPPINGS as StreamingDecoder_display
from .smartvae_advanced_decoder import NODE_CLASS_MAPPINGS as AdvancedDecoder_mappings, \
NODE_DISPLAY_NAME_MAPPINGS as AdvancedDecoder_display
from .load_latent_node import NODE_CLASS_MAPPINGS as LoadLatent_mappings, \
NODE_DISPLAY_NAME_MAPPINGS as LoadLatent_display
# Łączymy wszystkie mapowania w jeden słownik (ComfyUI tego oczekuje)
NODE_CLASS_MAPPINGS = {}
NODE_CLASS_MAPPINGS.update(UniversalSmartVAEDecode_mappings)
NODE_CLASS_MAPPINGS.update(StreamingDecoder_mappings)
NODE_CLASS_MAPPINGS.update(AdvancedDecoder_mappings)
NODE_CLASS_MAPPINGS.update(LoadLatent_mappings)
NODE_DISPLAY_NAME_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS.update(UniversalSmartVAEDecode_display)
NODE_DISPLAY_NAME_MAPPINGS.update(StreamingDecoder_display)
NODE_DISPLAY_NAME_MAPPINGS.update(AdvancedDecoder_display)
NODE_DISPLAY_NAME_MAPPINGS.update(LoadLatent_display)
# Opcjonalnie – jeśli chcesz mieć czytelniejszą nazwę pakietu w menu ComfyUI
WEB_DIRECTORY = "./web" # jeśli masz jakieś rozszerzenia JS/CSS w folderze web
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]