update to sdxl

This commit is contained in:
anapnoe
2023-10-31 19:52:17 +02:00
parent 73e222e6cf
commit f2844bd024
233 changed files with 7985 additions and 8738 deletions
+5
View File
@@ -1,4 +1,5 @@
// attaches listeners to the txt2img and img2img galleries to update displayed generation param text when the image changes
let txt2img_gallery, img2img_gallery, modal = undefined;
onAfterUiUpdate(function() {
if (!txt2img_gallery) {
@@ -7,6 +8,10 @@ onAfterUiUpdate(function() {
if (!img2img_gallery) {
img2img_gallery = attachGalleryListeners("img2img");
}
if (!modal) {
modal = gradioApp().getElementById('lightboxModal');
modalObserver.observe(modal, {attributes: true, attributeFilter: ['style']});
}
});
let modalObserver = new MutationObserver(function(mutations) {