-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: generate a random seed if none given #259
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
base: main
Are you sure you want to change the base?
Conversation
|
I think if you open demo_gradio.py in a text editor and change seed to '-1' i think that is the same thing. However you can't see what the random number is, so maybe your approach is better |
As far as I understand, it's not the same thing:
|
|
new random seed generation code implemented |
|
@chuckkay Stop spamming. Your comment has nothing to do with this pull request and is entirely irrelevant. |
nothing to do with the pull request? entirely irrelivant? its a mod that has random seed generation done perfectly and many other features. considering pull requests have not been processed in a while, i am offering people a mod that does them all and in a better way.. |
|
@chuckkay I don't care, it's not relevant to this pull request. Go spam someone else. |
|
@WereCatf, I suggest you to apply this change also on |
Currently the UI defaults to "31337" for the seed value but the code causes an exception if there is no value set for seed. This commit simply generates a new seed and updates the UI accordingly in that case, preventing the exception.
…ker-hub Remove cleanup and push to docker hub instead of GHCR
Currently the UI defaults to "31337" for the seed value but the code causes an exception if there is no value set for seed. This commit simply generates a new seed and updates the UI accordingly in that case, preventing the exception.