mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-27 21:08:54 +02:00
The seed displayed in the UI was wrong
This commit is contained in:
parent
4444525c01
commit
30974482c5
@ -671,10 +671,12 @@ async function doMakeImage(reqBody) {
|
|||||||
|
|
||||||
for (let idx in res.output) {
|
for (let idx in res.output) {
|
||||||
let imgBody = ''
|
let imgBody = ''
|
||||||
|
let seed = 0
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let imgData = res.output[idx]
|
let imgData = res.output[idx]
|
||||||
imgBody = imgData.data
|
imgBody = imgData.data
|
||||||
|
seed = imgData.seed
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(imgBody)
|
console.log(imgBody)
|
||||||
setStatus('request', 'invalid image', 'error')
|
setStatus('request', 'invalid image', 'error')
|
||||||
|
Loading…
Reference in New Issue
Block a user