set the seed field to the currently generated random number each time the MakeImage button is clicked

This commit is contained in:
Thomas 2024-03-22 23:31:42 +01:00
parent 17ef1e04f7
commit d785199bad
No known key found for this signature in database
GPG Key ID: 0CFD61744DA1A21C

View File

@ -1036,6 +1036,7 @@ function makeImage() {
hypernetworkStrengthField.value = hypernetworkStrengthSlider.value / 100
}
const taskTemplate = getCurrentUserRequest()
seedField.value = taskTemplate.reqBody.seed;
const newTaskRequests = getPrompts().map((prompt) =>
Object.assign({}, taskTemplate, {
reqBody: Object.assign({ prompt: prompt }, taskTemplate.reqBody),