Files
Emre 2d9a5faf08 Enhance DSDGeminiPromptEnhancer and add UI integration for enhanced prompts
- Introduced a new `OUTPUT_NODE` attribute in the `DSDGeminiPromptEnhancer` class to facilitate UI data transmission.
- Implemented state management for the enhanced prompt within the class, ensuring it can be accessed and displayed in the UI.
- Created a new JavaScript file `showEnhancedPrompt.js` to handle the display of the enhanced prompt in the ComfyUI, including normalization and widget management.
- Updated the `__init__.py` file to include the new `WEB_DIRECTORY` constant in the module's exports.

These changes improve the functionality and user experience of the DSDGeminiPromptEnhancer node by enabling enhanced prompt visualization in the UI.
2025-03-14 13:50:55 +03:00

9 lines
229 B
Python

"""
Diffusion Self-Distillation ComfyUI nodes
"""
from .dsd_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]