feat: generate a random seed if none given#259
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.