Rename replace node to avoid conflict with ComfyUI base component
This commit is contained in:
+4
-4
@@ -2,23 +2,23 @@
|
||||
|
||||
from .string_textbox_node import StringTextboxNode
|
||||
from .string_strip_node import StringStripNode
|
||||
from .string_replace_node import StringReplaceNode
|
||||
from .string_multi_replace_node import StringMultiReplaceNode
|
||||
from .string_preview_node import StringPreviewNode
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"StringTextbox": StringTextboxNode,
|
||||
"StringStrip": StringStripNode,
|
||||
"StringReplace": StringReplaceNode,
|
||||
"StringMultiReplace": StringMultiReplaceNode,
|
||||
"StringPreview": StringPreviewNode
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"StringTextbox": "String Textbox",
|
||||
"StringStrip": "String Strip",
|
||||
"StringReplace": "String Replace",
|
||||
"StringMultiReplace": "String Multi Replace",
|
||||
"StringPreview": "String Preview"
|
||||
}
|
||||
|
||||
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