whoops
at least it fixes fixed-seed makeMore() too
This commit is contained in:
parent
9b23e3aa92
commit
a350842dfd
1 changed files with 4 additions and 1 deletions
|
@ -318,6 +318,9 @@ const _generate = async (
|
||||||
stopProgress = _monitorProgress(bb);
|
stopProgress = _monitorProgress(bb);
|
||||||
interruptButton.disabled = false;
|
interruptButton.disabled = false;
|
||||||
imageCollection.inputElement.appendChild(interruptButton);
|
imageCollection.inputElement.appendChild(interruptButton);
|
||||||
|
if (requestCopy.seed != -1) {
|
||||||
|
requestCopy.seed = parseInt(requestCopy.seed) + images.length - 1;
|
||||||
|
}
|
||||||
images.push(...(await _dream(endpoint, requestCopy)));
|
images.push(...(await _dream(endpoint, requestCopy)));
|
||||||
imageindextxt.textContent = `${at}/${images.length - 1}`;
|
imageindextxt.textContent = `${at}/${images.length - 1}`;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
@ -1643,6 +1646,6 @@ window.onbeforeunload = async () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
function sendSeed(seedIndex) {
|
function sendSeed(seedIndex) {
|
||||||
document.getElementById("seed").value =
|
stableDiffusionData.seed = document.getElementById("seed").value =
|
||||||
stableDiffusionData.lastSeeds[seedIndex - 1];
|
stableDiffusionData.lastSeeds[seedIndex - 1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue