Skip to content

Commit

Permalink
fix: add flac in audiowebdataset
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioschneider committed Feb 11, 2023
1 parent a4d196c commit 5c5ee94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audio_data_pytorch/datasets/audio_web_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def __init__(
self.map(preprocess, handler=log_and_continue)
else:
self.decode(wds.torch_audio, handler=log_and_continue)
self.to_tuple("wav", "json", handler=log_and_continue)
self.to_tuple("wav;flac", "json", handler=log_and_continue)
self.map_tuple(first, identity, handler=log_and_continue)

# Transform audio
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="audio-data-pytorch",
packages=find_packages(exclude=[]),
version="0.0.18",
version="0.0.19",
license="MIT",
description="Audio Data - PyTorch",
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 5c5ee94

Please sign in to comment.