mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-24 16:08:55 +01:00
Bug fixes for createTask, use task object, not UI infos.
This commit is contained in:
parent
a27c3f09b3
commit
4e51eeb998
@ -756,10 +756,10 @@ function createTask(task) {
|
|||||||
if (task.reqBody.init_image !== undefined) {
|
if (task.reqBody.init_image !== undefined) {
|
||||||
taskConfig += `, Prompt Strength: ${task.reqBody.prompt_strength}`
|
taskConfig += `, Prompt Strength: ${task.reqBody.prompt_strength}`
|
||||||
}
|
}
|
||||||
if (useFaceCorrectionField.checked) {
|
if (task.reqBody.use_face_correction) {
|
||||||
taskConfig += `, Fix Faces: ${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}`
|
taskConfig += `, Upscale: ${task.reqBody.use_upscale}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user