Skip to content

Commit c410427

Browse files
committed
Cleaning white space
1 parent fb42c12 commit c410427

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/transformers/video_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,10 @@ def get_uniform_frame_indices(total_num_frames: int, num_frames: Optional[int] =
303303
def get_num_frames_and_fps(sample_indices_fn: Union[partial, FunctionType]) -> tuple[Optional[int], Optional[float]]:
304304
"""
305305
Extract num_frames and fps from a function or functools.partial.
306-
306+
307307
Args:
308308
sample_indices_fn: function or functools.partial
309-
309+
310310
Returns:
311311
num_frames (int or None), fps (float or None)
312312
"""
@@ -326,7 +326,7 @@ def get_num_frames_and_fps(sample_indices_fn: Union[partial, FunctionType]) -> t
326326
}
327327
num_frames = closure_vars.get("num_frames")
328328
fps = closure_vars.get("fps")
329-
329+
330330
# Otherwise, not supported
331331
return num_frames, fps
332332

0 commit comments

Comments
 (0)