1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

[Modular] Video for Mellon (#12924)

num_frames and videos
This commit is contained in:
Álvaro Somoza
2026-01-07 19:35:59 -03:00
committed by GitHub
parent 9fb6b89d49
commit dab000e88b

View File

@@ -168,6 +168,14 @@ class MellonParam:
name="num_inference_steps", label="Steps", type="int", default=default, min=1, max=100, display="slider"
)
@classmethod
def num_frames(cls, default: int = 81) -> "MellonParam":
return cls(name="num_frames", label="Frames", type="int", default=default, min=1, max=480, display="slider")
@classmethod
def videos(cls) -> "MellonParam":
return cls(name="videos", label="Videos", type="video", display="output")
@classmethod
def vae(cls) -> "MellonParam":
"""