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

fix: parse seed as string to display correctly in metadata preview #2536

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

mashb1t
Copy link
Collaborator

@mashb1t mashb1t commented Mar 15, 2024

Fixes #2535

Seed shows up with rounding errors in metadata preview, parsing to string fixes it for preview.
No impoact except for displaying it, as https://github.com/lllyasviel/Fooocus/blob/main/modules/meta_parser.py#L132 already parses to int again.

@mashb1t mashb1t merged commit 9cd0366 into lllyasviel:main Mar 15, 2024
@mashb1t mashb1t added this to the 2.3.0 (draft) milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Rounding long seeds in metadata.
1 participant