Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Temporary revert.

comfyanonymous720b17442d39
diff --git a/nodes.py b/nodes.py
index 81efecf65..03544be02 100644
--- a/nodes.py
+++ b/nodes.py
@@ -1913,7 +1913,7 @@ def get_module_name(module_path: str) -> str:
def load_custom_node(module_path, ignore=set()):
- module_name = get_module_name(module_path)
+ module_name = os.path.basename(module_path)
try:
logging.debug("Trying to load custom node {}".format(module_path))
if os.path.isfile(module_path):