|
|
|
@ -272,6 +272,11 @@ class PromptServer():
|
|
|
|
|
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'] = '' |
|
|
|
|
info['category'] = 'sd' |
|
|
|
|
if hasattr(obj_class, 'OUTPUT_NODE') and obj_class.OUTPUT_NODE == True: |
|
|
|
|
info['output_node'] = True |
|
|
|
|
else: |
|
|
|
|
info['output_node'] = False |
|
|
|
|
|
|
|
|
|
if hasattr(obj_class, 'CATEGORY'): |
|
|
|
|
info['category'] = obj_class.CATEGORY |
|
|
|
|
return info |
|
|
|
|