automatic icon indicating copy to clipboard operation
automatic copied to clipboard

SD.next: (GRADIO related) broken for me (doesnt save meta into images sometimes, copy to 'from text' doesnt work etc)

Open Tillerz opened this issue 3 years ago • 11 comments

Discussed in https://github.com/vladmandic/automatic/discussions/2077

Originally posted by Tillerz August 26, 2023 I right now updated ( 0f10a9ce ), and this is not working:

  • When I change the prompt and then render an image, the METADATA underneath the image doesn't get updated with the changes (they are saved to the image though when clicking SAVE).

  • [EDIT] And now the images also do not save with the METADATA, something is weird here. I did a --reinstall, that didn't give any improvements.

  • Settings / show all:

img

  • It also looks like "Secondary sampler" doesn't get restored when you start the UI and click the button to load the data from previous session.

  • Loading an image in "Process Image" and then sending to "From Text" doesn't fill the prompt and negative prompt. Uh, I think it doesn't send ANYTHING over to the other tab. EDIT: Ok, it does work for OLDER images, it does not work with the metadata of images I rendered today ( version d48a13a1 ).

Tillerz avatar Aug 26 '23 16:08 Tillerz

metadata save is fixed. restore values for gradio radio controls is fixed. the rest i need to check.

vladmandic avatar Aug 27 '23 08:08 vladmandic

FYI, There is also a massive lag opening the UI after the Gradio update. Loading screen takes now 2 mins instead of 13 sec that was normal start up time for me. Running with --safe. Firefox and Edge report that the page is not responding at some point. 12:16:25-899197 INFO Python 3.10.9 on Windows 12:16:25-949293 INFO Version: 48c0ce9b Sun Aug 27 08:01:29 2023 +0000

solsol360 avatar Aug 27 '23 09:08 solsol360

the lag disappeared after doing git pull && git submodule update disabeling extensions and removing scripts that caused error. I still don't get text files when hitting save. It works when selecting save all generated images.

Boldor83 avatar Aug 27 '23 17:08 Boldor83

Saving text files only occurs if save image is enabled, that was always the case.

vladmandic avatar Aug 27 '23 18:08 vladmandic

my save folder is full of images with text files before this occurred, they always were saved along when pressing the save button, now it only works when i enable "Always save all generated images", the save button is pretty useless when i only get text files when i save all files.

I just did git reset --hard 6a4d4ea5b7a6ecfb0d1c15813ec18f49a36195a9 to test and it creates text files again with save.

Boldor83 avatar Aug 27 '23 21:08 Boldor83

This may be related so I'll post here instead of opening a new issue at the moment:

After recent updates SDNext doesn't seem to be saving the metadata into images processed by the Sd upscale script in img2img. It does when the script isn't used, however. I'm uncertain whether this is related, but I've also noticed that it's saving init images as .jpg despite both images and grids being set to save as .png.

Silanda avatar Aug 29 '23 15:08 Silanda

@Silanda possibly related, but i'd rather handle it as a separate issue as this one is getting overloaded - i'd hate to close this and than your issue falls under the radar.

vladmandic avatar Aug 29 '23 15:08 vladmandic

Cool, I'll open a new one.

Silanda avatar Aug 29 '23 15:08 Silanda

@Tillerz can you check this item

Loading an image in "Process Image" and then sending to "From Text" doesn't fill the prompt and negative prompt.

i cannot reproduce the problem. the rest were valid and resolved.

vladmandic avatar Aug 30 '23 13:08 vladmandic

I guess you can ignore the last one. I checked and it's only the metadata of images that I made with that broken version. These images seemed to have saved the metadata wrong. The data showed up in the UI when loading the image, but the "copy to other tab" didn't work. It works with older images. And I just tried with the new version, copying data from current images works again too.

But I have an addendum to the secondary sampler settings: they are not being saved to the image.

Tillerz avatar Aug 31 '23 06:08 Tillerz

fixed addendum

vladmandic avatar Aug 31 '23 12:08 vladmandic