Plural in images

This commit is contained in:
cmdr2 2022-09-14 17:15:05 +05:30
parent 9f48d5e5ff
commit 7a540f2a88

View File

@ -676,7 +676,7 @@ async function doMakeImage(reqBody, batchCount) {
let percent = 100 * (overallStepCount / totalSteps) let percent = 100 * (overallStepCount / totalSteps)
percent = percent.toFixed(0) percent = percent.toFixed(0)
outputMsg.innerHTML = `Batch ${batchesDone+1} of ${batchCount}` outputMsg.innerHTML = `Batch ${batchesDone+1} of ${batchCount}`
progressBar.innerHTML = `Generating image: ${percent}%` progressBar.innerHTML = `Generating image(s): ${percent}%`
progressBar.style.display = 'block' progressBar.style.display = 'block'
} }
} catch (e) { } catch (e) {