Open ptits opened 3 weeks ago
Thank you for the contribution! We will try to add the seed and other functionalities (e.g. text-to-image generation) in the new Gradio demo.
@feifeiobama I've just sent a PR with the custom seed feature (the default is 0, which randomizes the seed value), as well as adding a way to switch back and forth between 384p and 768p, which automatically updates the maximum value of the duration slider between 16 and 31. Please check https://github.com/jy0205/Pyramid-Flow/pull/189
Done ? (answer: yes !) (cf the new app.py) Maybe it"s time to close this topic ?
def initialize_model_cached(variant, seed): key = variant torch.manual_seed(seed)
If you are using GPUs, set the seed for all GPUs