mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-24 08:54:03 +00:00
wip add AI generated descriptions to all nodes
This commit is contained in:
@@ -665,6 +665,8 @@ class PromptServer():
|
||||
info['name'] = node_class
|
||||
info['display_name'] = nodes.NODE_DISPLAY_NAME_MAPPINGS[node_class] if node_class in nodes.NODE_DISPLAY_NAME_MAPPINGS.keys() else node_class
|
||||
info['description'] = obj_class.DESCRIPTION if hasattr(obj_class,'DESCRIPTION') else ''
|
||||
if hasattr(obj_class, 'SHORT_DESCRIPTION') and obj_class.SHORT_DESCRIPTION:
|
||||
info['short_description'] = obj_class.SHORT_DESCRIPTION
|
||||
info['python_module'] = getattr(obj_class, "RELATIVE_PYTHON_MODULE", "nodes")
|
||||
info['category'] = 'sd'
|
||||
if hasattr(obj_class, 'OUTPUT_NODE') and obj_class.OUTPUT_NODE == True:
|
||||
|
||||
Reference in New Issue
Block a user