mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-03-26 14:56:28 +01:00
Fix typo while merging b1dd4069db
to beta
This commit is contained in:
parent
6c71d95932
commit
c61574b782
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user