diff --git a/ui/media/js/main.js b/ui/media/js/main.js index c4dbe958..8c4789ea 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -815,7 +815,7 @@ function createTask(task) { taskConfig += `, Fix Faces: ${task.reqBody.use_face_correction}` } if (task.reqBody.use_upscale) { - taskConfig += `, Upscale: ${task.reqBody.use_upscale} (${task.reqBody.upscale_amount}x)` + taskConfig += `, Upscale: ${task.reqBody.use_upscale} (${task.reqBody.upscale_amount !== undefined ? task.reqBody.upscale_amount : '4'}x)` } if (task.reqBody.use_hypernetwork_model) { taskConfig += `, Hypernetwork: ${task.reqBody.use_hypernetwork_model}`