From bfaca2f493796d13e54d20ed3acfc6b11d251e9d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 29 Apr 2026 18:25:03 +0100 Subject: [PATCH] Remove seed control from GUI --- frontend/src/app.ts | 3 +-- src/repixelizer/gui_static/app.js | 3 +-- src/repixelizer/gui_static/index.html | 14 -------------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/frontend/src/app.ts b/frontend/src/app.ts index ddb051c..12d9772 100644 --- a/frontend/src/app.ts +++ b/frontend/src/app.ts @@ -199,7 +199,6 @@ const targetSizeInput = byId("targetSizeInput"); const targetWidthInput = byId("targetWidthInput"); const targetHeightInput = byId("targetHeightInput"); const stepsInput = byId("stepsInput"); -const seedInput = byId("seedInput"); const runControlsCopy = byId("runControlsCopy"); const queuePanel = byId("queuePanel"); const queueSummaryPanel = byId("queueSummary"); @@ -1269,7 +1268,7 @@ function buildFormData(): FormData { ["target_width", parseOptionalInteger(targetWidthInput)?.toString() ?? null], ["target_height", parseOptionalInteger(targetHeightInput)?.toString() ?? null], ["steps", String(normalizedSteps)], - ["seed", String(parseOptionalInteger(seedInput) ?? 7)], + ["seed", "7"], ["device", runtimeConfig?.hostedDemo ? "cpu" : deviceInput.value], ["strip_background", runtimeConfig?.hostedDemo ? "false" : stripBackgroundInput.checked ? "true" : "false"], ["skip_candidate_rerank", "false"], diff --git a/src/repixelizer/gui_static/app.js b/src/repixelizer/gui_static/app.js index 7cc1e70..d7906f1 100644 --- a/src/repixelizer/gui_static/app.js +++ b/src/repixelizer/gui_static/app.js @@ -39,7 +39,6 @@ const targetSizeInput = byId("targetSizeInput"); const targetWidthInput = byId("targetWidthInput"); const targetHeightInput = byId("targetHeightInput"); const stepsInput = byId("stepsInput"); -const seedInput = byId("seedInput"); const runControlsCopy = byId("runControlsCopy"); const queuePanel = byId("queuePanel"); const queueSummaryPanel = byId("queueSummary"); @@ -1025,7 +1024,7 @@ function buildFormData() { ["target_width", parseOptionalInteger(targetWidthInput)?.toString() ?? null], ["target_height", parseOptionalInteger(targetHeightInput)?.toString() ?? null], ["steps", String(normalizedSteps)], - ["seed", String(parseOptionalInteger(seedInput) ?? 7)], + ["seed", "7"], ["device", runtimeConfig?.hostedDemo ? "cpu" : deviceInput.value], ["strip_background", runtimeConfig?.hostedDemo ? "false" : stripBackgroundInput.checked ? "true" : "false"], ["skip_candidate_rerank", "false"], diff --git a/src/repixelizer/gui_static/index.html b/src/repixelizer/gui_static/index.html index 22ee704..2275a39 100644 --- a/src/repixelizer/gui_static/index.html +++ b/src/repixelizer/gui_static/index.html @@ -248,20 +248,6 @@ -