Fix a bug (after merge) where the image info wouldn't get set

This commit is contained in:
cmdr2 2022-10-17 14:19:16 +05:30
parent 1b4a2369bb
commit a45e667e9c
2 changed files with 1 additions and 2 deletions

View File

@ -249,7 +249,7 @@
</body>
<script src="media/auto-save.js?v=2"></script>
<script src="media/main.js?v=36"></script>
<script src="media/main.js?v=37"></script>
<script>
async function init() {
await loadModifiers()

View File

@ -361,7 +361,6 @@ function showImages(reqBody, res, outputContainer, livePreview) {
imageElem.src = imageData
imageElem.width = parseInt(imageWidth)
imageElem.height = parseInt(imageHeight)
imageElem.setAttribute('data-seed', imageSeed)
imageElem.setAttribute('data-prompt', imagePrompt)
imageElem.setAttribute('data-steps', imageInferenceSteps)
imageElem.setAttribute('data-guidance', imageGuidanceScale)