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

Update allowed height/widths #236

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

JustGuyThatGuy
Copy link
Contributor

Since December 2022, automatic1111 has supported resolutions that are a multiple of 8, not 64
This PR updates aiyabot to allow the same

height/width are required to be a multiple of 8, not 64
@sebaxakerhtc
Copy link
Contributor

sebaxakerhtc commented Feb 23, 2024

@JustGuyThatGuy
Bad idea...
We moved from 32 to 64 because of resolutions list. In my fork I use minimum 768 res to have a list up to 2304px (Do you know the list of 25 is a maximum for Discord?)
So... If we use 8 and minimum res by default 192 - then max will be 384px. Is it a good resolution for you?

@JustGuyThatGuy
Copy link
Contributor Author

JustGuyThatGuy commented Feb 23, 2024

@sebaxakerhtc That is indeed what it'll show to start with, but when you start typing a number the list updates, e.g.

Sizes

Works perfectly on Desktop and Mobile Discord, so there's no reason to be so restrictive.

And realistically, who's actually doing 192px gens anyway unless they're trying to run SD on a potato? A more sensible default start might be 512.

@Kilvoctu
Copy link
Owner

Haven't tested this, but sounds reasonable to me. Merged

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.

3 participants