Skip to content

Commit

Permalink
motion magnitude max 20
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru committed Feb 5, 2024
1 parent 55a43bc commit 19f725e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def predict(
i2v_eta: float = Input(description="ETA", default=1.0, ge=0.0, le=1.0),
i2v_cfg_scale: float = Input(description="CFG Scale", default=7.5, ge=1.0, le=15.0),
i2v_steps: int = Input(description="Sampling steps", default=50, ge=1, le=60),
i2v_motion: int = Input(description="Motion magnitude", default=3, ge=1, le=4),
i2v_motion: int = Input(description="Motion magnitude", default=4, ge=1, le=20),
) -> Path:
video_path = infer(i2v_input_image, i2v_input_text, steps=i2v_steps, cfg_scale=i2v_cfg_scale, eta=i2v_eta, fs=i2v_motion, seed=i2v_seed, model=self.model)
return Path(video_path)

0 comments on commit 19f725e

Please sign in to comment.