Merge pull request #83 from ArtificialLegacy/main

generating in parallel not updating seed correctly.
This commit is contained in:
cmdr2 2022-09-07 15:55:07 +05:30 committed by GitHub
commit 04ad3c0386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -769,7 +769,7 @@ async function makeImage() {
let successCount = 0
for (let i = 0; i < batchCount; i++) {
reqBody['seed'] = seed + i
reqBody['seed'] = seed + (i * batchSize)
let success = await doMakeImage(reqBody)