Skip to content

Commit

Permalink
runner: Default decode_chunk_size = 4
Browse files Browse the repository at this point in the history
  • Loading branch information
yondonfu committed Feb 29, 2024
1 parent 54f029d commit 133051e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/app/pipelines/image_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, model_id: str):

def __call__(self, image: PIL.Image, **kwargs) -> List[List[PIL.Image]]:
if "decode_chunk_size" not in kwargs:
kwargs["decode_chunk_size"] = 8
kwargs["decode_chunk_size"] = 4

seed = kwargs.pop("seed", None)
if seed is not None:
Expand Down

0 comments on commit 133051e

Please sign in to comment.