continue to display in-progress image until the post-processing is done, for better esthetics (#255)

This commit is contained in:
Lincoln Stein 2022-08-31 12:32:56 -04:00 committed by GitHub
parent a14fd69a5a
commit d022d0dd11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,6 @@ async function generateSubmit(form) {
appendOutput(data.url, data.seed, data.config);
progressEle.setAttribute('value', 0);
progressEle.setAttribute('max', totalSteps);
progressImageEle.src = BLANK_IMAGE_URL;
} else if (data.event === 'upscaling-started') {
document.getElementById("processing_cnt").textContent=data.processed_file_cnt;
document.getElementById("scaling-inprocess-message").style.display = "block";