diff --git a/src/datasets/features/pdf.py b/src/datasets/features/pdf.py index 414c497356c..756530554d4 100644 --- a/src/datasets/features/pdf.py +++ b/src/datasets/features/pdf.py @@ -44,8 +44,6 @@ class Pdf: - A `pdfplumber.pdf.PDF`: pdfplumber pdf object. Args: - mode (`str`, *optional*): - The mode to convert the pdf to. If `None`, the native mode of the pdf is used. decode (`bool`, defaults to `True`): Whether to decode the pdf data. If `False`, returns the underlying dictionary in the format `{"path": pdf_path, "bytes": pdf_bytes}`. diff --git a/src/datasets/features/video.py b/src/datasets/features/video.py index adbfaaa30f3..8d7f3e3be51 100644 --- a/src/datasets/features/video.py +++ b/src/datasets/features/video.py @@ -45,8 +45,6 @@ class Video: Output: The Video features output data as `torchcodec.decoders.VideoDecoder` objects. Args: - mode (`str`, *optional*): - The mode to convert the video to. If `None`, the native mode of the video is used. decode (`bool`, defaults to `True`): Whether to decode the video data. If `False`, returns the underlying dictionary in the format `{"path": video_path, "bytes": video_bytes}`.