forked from extern/easydiffusion
Fix a bug (after merge) where the image info wouldn't get set
This commit is contained in:
parent
1b4a2369bb
commit
a45e667e9c
@ -249,7 +249,7 @@
|
|||||||
</body>
|
</body>
|
||||||
|
|
||||||
<script src="media/auto-save.js?v=2"></script>
|
<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>
|
<script>
|
||||||
async function init() {
|
async function init() {
|
||||||
await loadModifiers()
|
await loadModifiers()
|
||||||
|
@ -361,7 +361,6 @@ function showImages(reqBody, res, outputContainer, livePreview) {
|
|||||||
imageElem.src = imageData
|
imageElem.src = imageData
|
||||||
imageElem.width = parseInt(imageWidth)
|
imageElem.width = parseInt(imageWidth)
|
||||||
imageElem.height = parseInt(imageHeight)
|
imageElem.height = parseInt(imageHeight)
|
||||||
imageElem.setAttribute('data-seed', imageSeed)
|
|
||||||
imageElem.setAttribute('data-prompt', imagePrompt)
|
imageElem.setAttribute('data-prompt', imagePrompt)
|
||||||
imageElem.setAttribute('data-steps', imageInferenceSteps)
|
imageElem.setAttribute('data-steps', imageInferenceSteps)
|
||||||
imageElem.setAttribute('data-guidance', imageGuidanceScale)
|
imageElem.setAttribute('data-guidance', imageGuidanceScale)
|
||||||
|
Loading…
Reference in New Issue
Block a user