mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-01 03:27:25 +02: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) => {
|
res.output.forEach((result, index) => {
|
||||||
const imageData = result?.data || result?.path + '?t=' + new Date().getTime(),
|
const imageData = result?.data || result?.path + '?t=' + new Date().getTime(),
|
||||||
imageSeed = result?.seed,
|
imageSeed = result?.seed,
|
||||||
imagePrompt = req.prompt,
|
imagePrompt = reqBody.prompt,
|
||||||
imageInferenceSteps = req.num_inference_steps,
|
imageInferenceSteps = reqBody.num_inference_steps,
|
||||||
imageGuidanceScale = req.guidance_scale,
|
imageGuidanceScale = reqBody.guidance_scale,
|
||||||
imageWidth = req.width,
|
imageWidth = reqBody.width,
|
||||||
imageHeight = req.height;
|
imageHeight = reqBody.height;
|
||||||
|
|
||||||
if (!imageData.includes('/')) {
|
if (!imageData.includes('/')) {
|
||||||
// res contained no data for the image, stop execution
|
// res contained no data for the image, stop execution
|
||||||
|
Loading…
Reference in New Issue
Block a user