migrated to ComfyUI V3 schema

This commit is contained in:
XJF2332
2026-01-30 21:46:49 +08:00
parent 9be978c263
commit 115d6cacc2
3 changed files with 44 additions and 44 deletions
+4 -8
View File
@@ -1,11 +1,10 @@
from .node import EmbeddingPicker
from pathlib import Path
from .node import comfy_entrypoint
NODE_CLASS_MAPPINGS = {"EmbeddingPicker": EmbeddingPicker}
NODE_DISPLAY_NAME_MAPPINGS = {"EmbeddingPicker": "Embedding Picker"}
WEB_DIRECTORY = "./js"
__all__ = ["WEB_DIRECTORY", "comfy_entrypoint"]
# ------------------------ Remove copied web extension -------------------------
from pathlib import Path
node_dir = Path(__file__).resolve().parent
comfy_dir = node_dir.parent.parent
destination_dir = comfy_dir / "web" / "extensions" / "tropfchen"
@@ -13,7 +12,4 @@ destination_path = destination_dir / "epQuickNodes.js"
if destination_path.exists():
destination_path.unlink()
# --------------------------- Install web extension ----------------------------
WEB_DIRECTORY = "./js"
__all__ = ["WEB_DIRECTORY"]