forked from extern/easydiffusion
Merge pull request #1108 from ogmaresca/increase-random-seed-range
Increase the random seed range
This commit is contained in:
commit
5b00d54c76
@ -1122,7 +1122,7 @@ function createTask(task) {
|
|||||||
function getCurrentUserRequest() {
|
function getCurrentUserRequest() {
|
||||||
const numOutputsTotal = parseInt(numOutputsTotalField.value)
|
const numOutputsTotal = parseInt(numOutputsTotalField.value)
|
||||||
const numOutputsParallel = parseInt(numOutputsParallelField.value)
|
const numOutputsParallel = parseInt(numOutputsParallelField.value)
|
||||||
const seed = (randomSeedField.checked ? Math.floor(Math.random() * 10000000) : parseInt(seedField.value))
|
const seed = (randomSeedField.checked ? Math.floor(Math.random() * (2**32 - 1)) : parseInt(seedField.value))
|
||||||
|
|
||||||
const newTask = {
|
const newTask = {
|
||||||
batchesDone: 0,
|
batchesDone: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user