mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-25 14:25:44 -03:00
Update __init__.py
This commit is contained in:
11
__init__.py
11
__init__.py
@@ -1,13 +1,16 @@
|
|||||||
from .canvas_node import CanvasView
|
from .canvas_node import CanvasNode
|
||||||
|
|
||||||
|
# 设置路由
|
||||||
|
CanvasNode.setup_routes()
|
||||||
|
|
||||||
NODE_CLASS_MAPPINGS = {
|
NODE_CLASS_MAPPINGS = {
|
||||||
"CanvasView": CanvasView
|
"CanvasNode": CanvasNode
|
||||||
}
|
}
|
||||||
|
|
||||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||||
"CanvasView": "Canvas View"
|
"CanvasNode": "Canvas Node"
|
||||||
}
|
}
|
||||||
|
|
||||||
WEB_DIRECTORY = "./js"
|
WEB_DIRECTORY = "./js"
|
||||||
|
|
||||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||||
|
|||||||
Reference in New Issue
Block a user