From 4e51eeb99848a84c8cf20c379838c4d123762e91 Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Sun, 9 Oct 2022 19:59:34 -0400 Subject: [PATCH] Bug fixes for createTask, use task object, not UI infos. --- ui/media/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/media/main.js b/ui/media/main.js index aef53435..87cbb33a 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -756,10 +756,10 @@ function createTask(task) { if (task.reqBody.init_image !== undefined) { taskConfig += `, Prompt Strength: ${task.reqBody.prompt_strength}` } - if (useFaceCorrectionField.checked) { + if (task.reqBody.use_face_correction) { taskConfig += `, Fix Faces: ${task.reqBody.use_face_correction}` } - if (useUpscalingField.checked) { + if (task.reqBody.use_upscale) { taskConfig += `, Upscale: ${task.reqBody.use_upscale}` }