From 9d611a90e85eb271e6eeef890a5a77e2e0e6919b Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Tue, 31 Jan 2023 03:37:34 -0500 Subject: [PATCH] Small web interface fixes. --- webshit/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webshit/index.html b/webshit/index.html index 7672657d..5d4066c4 100644 --- a/webshit/index.html +++ b/webshit/index.html @@ -139,7 +139,7 @@ function onObjectInfo(json) { if (step_val == undefined) step_val = 1; w = this.addWidget("number", x, default_val, function(v){let s = this.options.step / 10;this.value = Math.round( v / s ) * s;}, { min: min_val, max: max_val, step: 10.0 * step_val} ); this._widgets += [w] - if (x == "seed") { + if (x == "seed" || x == "noise_seed") { w1 = this.addWidget("toggle", "Random seed after every gen", true, function(v){}, { on: "enabled", off:"disabled"} ); w1.to_randomize = w; this._widgets += [w1] @@ -432,7 +432,7 @@ function prompt_file_load(file) offset += 12 + length; } console.log(txt_chunks); - console.log(JSON.parse(txt_chunks["prompt"])); + // console.log(JSON.parse(txt_chunks["prompt"])); loadGraphData(graph, JSON.parse(txt_chunks["workflow"])); }; reader.readAsArrayBuffer(file);