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

Bug: File name too long when prompt too long #52

Open
soulteary opened this issue Dec 9, 2022 · 1 comment
Open

Bug: File name too long when prompt too long #52

soulteary opened this issue Dec 9, 2022 · 1 comment

Comments

@soulteary
Copy link

soulteary commented Dec 9, 2022

When I use a "mantra" on the Internet, Python will report an error when save a picture because the prompt text is too long:

prompt like this:

best quality,Amazing,Beautiful golden eyes,finely detail,Depth of field,extremely detailed CG unity 8k wallpaper, masterpiece,(((Long dark blond hair))),((red mediumhair)),(1 girl)...

same to #48 #45

soulteary added a commit to soulteary/ml-stable-diffusion that referenced this issue Dec 9, 2022
@soulteary
Copy link
Author

I've created a pull request for this issue: #53

Perhaps, the generated pictures can be stored according to the generation time,

and an additional file can be created to record the generation parameters originally stored in the file name.

looking forward to hearing your voice @aseemw

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

No branches or pull requests

1 participant