Merge pull request #5 from Limbicnation/fix/import-issues-custom-node

Fix/import issues custom node
This commit is contained in:
Gero Doll
2024-09-05 04:44:05 +02:00
committed by GitHub
3 changed files with 38 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Handle line endings (CRLF for Windows, LF for Unix)
* text=auto
# Ensure Python files use LF for Unix compatibility
*.py text eol=lf
# Treat Markdown and YAML files as text
*.md text
*.yaml text
*.yml text
# Handle images and binaries as binary
*.png binary
*.jpg binary
*.zip binary
# Handle compiled files as binary (just in case you have any)
*.exe binary
*.dll binary
*.so binary
# Ensure JSON files use LF line endings
*.json text eol=lf
# Handle Node.js package lock file (if relevant)
package-lock.json merge=union
+11
View File
@@ -0,0 +1,11 @@
from .your_node_file import ComfyUIDepthEstimationNode
NODE_CLASS_MAPPINGS = {
"ComfyUIDepthEstimationNode": ComfyUIDepthEstimationNode
}
NODE_DISPLAY_NAME_MAPPINGS = {
"ComfyUIDepthEstimationNode": "Depth Estimation Node"
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
Executable
BIN
View File
Binary file not shown.