stable_diffusion.openvino
stable_diffusion.openvino copied to clipboard
Bugfix/Seed Value
I noticed that the seed value used to render is not the seed value when clicking generate.
This PR uses session_state to persist the seed value so that the subsequent generation will use it. It still maintains the existing behavior of selecting a new random seed value per generation, unless the user manually enters a specific seed value, in which case the same manually entered seed value will continue to be used.
@bes-dev please take a look! :)