mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-12 04:48:12 +02:00
Increase the random seed range
This commit is contained in:
parent
75445185c4
commit
bc711414a8
@ -1099,7 +1099,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…
x
Reference in New Issue
Block a user