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 escaped \{ appearing as { in workflows.
comfyanonymous928087184ec5
diff --git a/webshit/index.html b/webshit/index.htmlindex 490de6ab2..4f26f5575 100644--- a/webshit/index.html+++ b/webshit/index.html@@ -344,13 +344,17 @@ function graphToPrompt() {prompt = prompt.substring(0, startIndex) + randomOption + prompt.substring(endIndex + 1);}- widget.value = prompt.replace("\\{", "{").replace("\\}", "}");+ widget.value = prompt;}}}for (let y in n.widgets) {- input_[n.widgets[y].name] = n.widgets[y].value;+ if (n.widgets[y].dynamic_prompt && n.widgets[y].dynamic_prompt === true) {+ input_[n.widgets[y].name] = n.widgets[y].value.replace("\\{", "{").replace("\\}", "}");+ } else {+ input_[n.widgets[y].name] = n.widgets[y].value;+ }}for (let y in n.inputs) {let parent_node = n.getInputNode(y);