The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Make saved json more pretty.
comfyanonymous46b674c9c29e
diff --git a/web/scripts/ui.js b/web/scripts/ui.jsindex 51f9b52c7..58012fe6c 100644--- a/web/scripts/ui.js+++ b/web/scripts/ui.js@@ -310,7 +310,7 @@ export class ComfyUI {$el("button", {textContent: "Save",onclick: () => {- const json = JSON.stringify(app.graph.serialize()); // convert the data to a JSON string+ const json = JSON.stringify(app.graph.serialize(), null, 2); // convert the data to a JSON stringconst blob = new Blob([json], { type: "application/json" });const url = URL.createObjectURL(blob);const a = $el("a", {