qinghew / CharacterFactory

🔥 CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models
https://qinghew.github.io/CharacterFactory/
Apache License 2.0
194 stars 14 forks source link

Fix an error about the randomness on huggingface demo #3

Open qinghew opened 4 months ago

qinghew commented 4 months ago

We did not set random seed initially, but the randomly sampled z is same sometimes on our huggingface demo. Our local gradio demo did not meet this issue. So we think this is caused by their online system. Now we set a random seed to sample z every time. The randomness issue seems to be solved. If this issue comes up again, please let us know!