forked from extern/easydiffusion
fix multiple images with upscale/fix face button
This commit is contained in:
parent
e8167541af
commit
816cf8f702
@ -453,11 +453,13 @@ function onMakeSimilarClick(req, img) {
|
||||
function enqueueImageVariationTask(req, img, reqDiff) {
|
||||
const imageSeed = img.getAttribute('data-seed')
|
||||
|
||||
const newTaskRequest = modifyCurrentRequest(req, reqDiff, {
|
||||
reqDiff = Object.assign({}, reqDiff, {
|
||||
num_outputs: 1, // this can be user-configurable in the future
|
||||
seed: imageSeed
|
||||
})
|
||||
|
||||
const newTaskRequest = modifyCurrentRequest(req, reqDiff)
|
||||
|
||||
newTaskRequest.numOutputsTotal = 1 // this can be user-configurable in the future
|
||||
newTaskRequest.batchCount = 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user