The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Supress frontend exception on unhandled message type (#4078)
Chenlei Hu6045ed31f898
diff --git a/web/scripts/api.js b/web/scripts/api.jsindex 39f0a9bb2..03c3fb607 100644--- a/web/scripts/api.js+++ b/web/scripts/api.js@@ -136,6 +136,9 @@ class ComfyApi extends EventTarget {case "execution_start":this.dispatchEvent(new CustomEvent("execution_start", { detail: msg.data }));break;+ case "execution_success":+ this.dispatchEvent(new CustomEvent("execution_success", { detail: msg.data }));+ break;case "execution_error":this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data }));break;