alibaba / animate-anything

Fine-Grained Open Domain Image Animation with Motion Guidance
https://animationai.github.io/AnimateAnything/
MIT License
779 stars 63 forks source link

fix seed not random when seed_textbox input with -1 #40

Closed dailingx closed 9 months ago

dailingx commented 9 months ago

When using the UI, I noticed that the same image always generates identical results, even though the seed input field was set to -1. Upon verification, it was identified that this issue was caused by not using the string type "-1" in the condition check.