- 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.
9 lines
229 B
Python
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"] |