Added calculation as to how many images will be generated with given prompts.

This commit is contained in:
ManInDark
2023-06-12 12:48:52 +02:00
parent 0ba9f0549e
commit e213f6cb95
2 changed files with 67 additions and 2 deletions

View File

@ -153,6 +153,10 @@ function permute(arr) {
return permutations
}
function permuteNumber(arr) {
return Math.pow(2, arr.length)
}
// https://stackoverflow.com/a/8212878
function millisecondsToStr(milliseconds) {
function numberEnding(number) {