Stability-AI / StableStudio

Community interface for generative AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated images missing parameter info using WebUI backend

harrywang opened this issue · comments

Describe the bug
After generating the images using WebUI backend from #25 and show the generation history, click the image and some parameter information is missing.

Screenshot 2023-05-25 at 3 19 49 PM Screenshot 2023-05-25 at 3 19 41 PM

Desktop (please complete the following information):
MacBook Pro with Chrome

@harrywang can you help to make a bit of tests? Just open your webui with no api mode, switch to PNG info tab, upload one image in txt2img or img2img folder to see how it works here? If it could not read information as well that would be the issue on webui side

just generated another few to confirm: the metadata is saved in PNG:

Screenshot 2023-05-25 at 8 03 04 PM

The metadata does not show in StableStudio:
Screenshot 2023-05-25 at 8 10 13 PM

the metadata is saved in PNG:
Screenshot 2023-05-25 at 8 16 23 PM

but metadata is not properly shown in StableStudio:
Screenshot 2023-05-25 at 8 17 39 PM

I guess I get the cause which is line break.
can you go to your local file

const info = imageInfoJson.info.split("\n");

and change \n to \r, to see it can fix the issue?

I guess I get the cause which is line break. can you go to your local file

const info = imageInfoJson.info.split("\n");

and change \n to \r, to see it can fix the issue?

No, the history images won't show after changing to \r with console error:

Screenshot 2023-05-25 at 9 53 40 PM

Is this likely an issue with themes? Can you verify that the value text isn't just white?

Is this likely an issue with themes? Can you verify that the value text isn't just white?

you are right - stupid me:
Screenshot 2023-05-25 at 11 05 31 PM

I will fix this in our PR #67