Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/datasets/features/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}`.
Expand Down
2 changes: 0 additions & 2 deletions src/datasets/features/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}`.
Expand Down