jy0205 / Pyramid-Flow

Code of Pyramidal Flow Matching for Efficient Video Generative Modeling
https://pyramid-flow.github.io/
MIT License
2.33k stars 225 forks source link

(not found) option or settings to generate 10s videos with the 768p model with gradio. #187

Open Giribot opened 1 day ago

Giribot commented 1 day ago

hello ! i read everything but i can't find (or understanding) the option or settings to generate 10s videos with the 768p model with gradio. All i can generate are 5s videos. can you explain to me? (and can you include this possibility by default in the demo via gradio? thank you! 💖💖💖

feifeiobama commented 1 day ago

Indeed, the current demo can only generate 16 latent frames (equivalent to 5 seconds), you can change 16 to 31 to generate a 10-second video: https://github.com/jy0205/Pyramid-Flow/blob/3fc05bcd43a2e2523fcb48289d0acf7b21a1f134/app.py#L283

cocktailpeanut commented 1 day ago

I've sent a PR that fixes this, automatically switches back and forth between 16 frames and 31 frames as the maximum value whenever you switch the models dropdown. https://github.com/jy0205/Pyramid-Flow/pull/189