Remove seed control from GUI
This commit is contained in:
parent
bac0b6c527
commit
bfaca2f493
3 changed files with 2 additions and 18 deletions
|
|
@ -199,7 +199,6 @@ const targetSizeInput = byId<HTMLInputElement>("targetSizeInput");
|
|||
const targetWidthInput = byId<HTMLInputElement>("targetWidthInput");
|
||||
const targetHeightInput = byId<HTMLInputElement>("targetHeightInput");
|
||||
const stepsInput = byId<HTMLInputElement>("stepsInput");
|
||||
const seedInput = byId<HTMLInputElement>("seedInput");
|
||||
const runControlsCopy = byId<HTMLParagraphElement>("runControlsCopy");
|
||||
const queuePanel = byId<HTMLElement>("queuePanel");
|
||||
const queueSummaryPanel = byId<HTMLDivElement>("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"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue