forked from extern/easydiffusion
Merge branch 'beta' of https://github.com/cmdr2/stable-diffusion-ui.git into multi-gpu
This commit is contained in:
commit
4167c65acf
@ -421,10 +421,10 @@ function onDownloadImageClick(req, img) {
|
|||||||
imgDownload.click()
|
imgDownload.click()
|
||||||
}
|
}
|
||||||
|
|
||||||
function modifyCurrentRequest(req, reqDiff) {
|
function modifyCurrentRequest(req, ...reqDiff) {
|
||||||
const newTaskRequest = getCurrentUserRequest()
|
const newTaskRequest = getCurrentUserRequest()
|
||||||
|
|
||||||
newTaskRequest.reqBody = Object.assign({}, req, reqDiff, {
|
newTaskRequest.reqBody = Object.assign({}, req, ...reqDiff, {
|
||||||
use_cpu: useCPUField.checked
|
use_cpu: useCPUField.checked
|
||||||
})
|
})
|
||||||
newTaskRequest.seed = newTaskRequest.reqBody.seed
|
newTaskRequest.seed = newTaskRequest.reqBody.seed
|
||||||
|
Loading…
Reference in New Issue
Block a user