migrated to ComfyUI V3 schema
This commit is contained in:
+4
-8
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user