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.

Fix formatting.

comfyanonymouse1dec3c79269
diff --git a/app/custom_node_manager.py b/app/custom_node_manager.py
index 32f15aa99..277f8954b 100644
--- a/app/custom_node_manager.py
+++ b/app/custom_node_manager.py
@@ -26,9 +26,9 @@ class CustomNodeManager:
workflow_name = os.path.splitext(os.path.basename(file))[0]
workflow_templates_dict.setdefault(custom_nodes_name, []).append(workflow_name)
return web.json_response(workflow_templates_dict)
-
+
# Serve workflow templates from custom nodes.
for module_name, module_dir in loadedModules:
workflows_dir = os.path.join(module_dir, 'example_workflows')
if os.path.exists(workflows_dir):
- webapp.add_routes([web.static('/api/workflow_templates/' + module_name, workflows_dir)])
\ No newline at end of file
+ webapp.add_routes([web.static('/api/workflow_templates/' + module_name, workflows_dir)])