yehaochen jack-zxy commited on
Commit
d08f8d2
·
verified ·
1 Parent(s): f7d0923

Update video_processing_interns1.py (#4)

Browse files

- Update video_processing_interns1.py (767cb80c7e5f07f8bf8e60d0affb6f3bb6ca3474)


Co-authored-by: Zhou Xinyu <jack-zxy@users.noreply.huggingface.co>

Files changed (1) hide show
  1. video_processing_interns1.py +1 -0
video_processing_interns1.py CHANGED
@@ -148,6 +148,7 @@ class InternS1VideoProcessor(BaseVideoProcessor):
148
  initial_shift: Optional[Union[bool, float, int]] = None,
149
  return_tensors: Optional[Union[str, TensorType]] = None,
150
  device: Optional["torch.Tensor"] = None,
 
151
  ) -> BatchFeature:
152
  if do_sample_frames:
153
  # Sample video frames
 
148
  initial_shift: Optional[Union[bool, float, int]] = None,
149
  return_tensors: Optional[Union[str, TensorType]] = None,
150
  device: Optional["torch.Tensor"] = None,
151
+ **kwargs
152
  ) -> BatchFeature:
153
  if do_sample_frames:
154
  # Sample video frames