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.

Reload setting value

pythongosssss1030ab0d8fd9
diff --git a/web/scripts/ui.js b/web/scripts/ui.js
index 9952606d4..b6b8e06b2 100644
--- a/web/scripts/ui.js
+++ b/web/scripts/ui.js
@@ -225,6 +225,7 @@ class ComfySettingsDialog extends ComfyDialog {
};
let element;
+ value = this.getSettingValue(id, defaultValue);
if (typeof type === "function") {
element = type(name, setter, value, attrs);
@@ -418,7 +419,7 @@ export class ComfyUI {
type: "boolean",
defaultValue: true,
});
-
+
const fileInput = $el("input", {
type: "file",
accept: ".json,image/png",