Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated images missing parameter info using WebUI backend #72

Closed
harrywang opened this issue May 25, 2023 · 6 comments
Closed

Generated images missing parameter info using WebUI backend #72

harrywang opened this issue May 25, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@harrywang
Copy link

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 harrywang added the bug Something isn't working label May 25, 2023
@jtydhr88
Copy link
Contributor

@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

@harrywang
Copy link
Author

harrywang commented May 26, 2023

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

@jtydhr88
Copy link
Contributor

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?

@harrywang
Copy link
Author

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

@KAJdev
Copy link
Contributor

KAJdev commented May 26, 2023

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

@harrywang
Copy link
Author

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

faye1225 added a commit to harrywang/StableStudio that referenced this issue May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants