wiikoo commited on
Commit
eaa84b0
·
verified ·
1 Parent(s): 552ff3a

Upload custom_nodes/ComfyUI-GGUF/__init__.py with huggingface_hub

Browse files
custom_nodes/ComfyUI-GGUF/__init__.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # only import if running as a custom node
2
+ try:
3
+ import comfy.utils
4
+ except ImportError:
5
+ pass
6
+ else:
7
+ from .nodes import NODE_CLASS_MAPPINGS
8
+ NODE_DISPLAY_NAME_MAPPINGS = {k:v.TITLE for k,v in NODE_CLASS_MAPPINGS.items()}
9
+ __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']