From c61574b782b3635730bae0754c2089715f8fda35 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 17 Oct 2022 13:04:33 +0530 Subject: [PATCH] Fix typo while merging b1dd4069db918d9d612cd63e7aa1e225e5d70f7c to beta --- ui/media/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/media/main.js b/ui/media/main.js index 9ec026ce..26eb5ef5 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -325,11 +325,11 @@ function showImages(reqBody, res, outputContainer, livePreview) { res.output.forEach((result, index) => { const imageData = result?.data || result?.path + '?t=' + new Date().getTime(), imageSeed = result?.seed, - imagePrompt = req.prompt, - imageInferenceSteps = req.num_inference_steps, - imageGuidanceScale = req.guidance_scale, - imageWidth = req.width, - imageHeight = req.height; + imagePrompt = reqBody.prompt, + imageInferenceSteps = reqBody.num_inference_steps, + imageGuidanceScale = reqBody.guidance_scale, + imageWidth = reqBody.width, + imageHeight = reqBody.height; if (!imageData.includes('/')) { // res contained no data for the image, stop execution