forked from extern/easydiffusion
Don't reset reqBody, only replace using req as we use a new task object created from UI inputs.
Fix plugins needing to specify many params or they would be missing in the render request.
This commit is contained in:
parent
840348b4eb
commit
3bd97352ba
@ -343,7 +343,7 @@ function onDownloadImageClick(req, img) {
|
||||
function modifyCurrentRequest(req, ...reqDiff) {
|
||||
const newTaskRequest = getCurrentUserRequest()
|
||||
|
||||
newTaskRequest.reqBody = Object.assign({}, req, ...reqDiff, {
|
||||
newTaskRequest.reqBody = Object.assign(newTaskRequest.reqBody, req, ...reqDiff, {
|
||||
use_cpu: useCPUField.checked
|
||||
})
|
||||
newTaskRequest.seed = newTaskRequest.reqBody.seed
|
||||
|
Loading…
Reference in New Issue
Block a user