bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 208 forks source link

Bugfix/Seed Value #60

Closed jcolicchio closed 1 year ago

jcolicchio commented 1 year ago

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.

jcolicchio commented 1 year ago

@bes-dev please take a look! :)