Fix griffe warning: add type annotation for **kwargs parameter
Co-authored-by: hsliuustc0106 <222337142+hsliuustc0106@users.noreply.github.com>
This commit is contained in:
1 parent
d89dc0ad58
commit
b5d6f5c66e
1 file changed
+2
-1
@@ -2,6 +2,7 @@
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
|
||||
import os
|
||||
from typing import Any
|
||||
|
||||
import torch
|
||||
from diffusers import LTXVideoPipeline
|
||||
@@ -96,7 +97,7 @@ class LTX2Pipeline(nn.Module):
|
||||
frame_num: int | None = None,
|
||||
output_type: str | None = "np",
|
||||
generator: torch.Generator | None = None,
|
||||
**kwargs,
|
||||
**kwargs: Any,
|
||||
) -> DiffusionOutput:
|
||||
"""Generate video from text prompt.
|
||||
|
||||
|
||||
Reference in new issue
Block a user