Skip to content

Commit

Permalink
Removing set_backend to avoid torchaudio UserWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
MorenoLaQuatra committed Jan 10, 2024
1 parent 0dea5db commit 56e1f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch_audiomentations/utils/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"""

# TODO: Remove this when it is the default
torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False
torchaudio.set_audio_backend("soundfile")
# torchaudio.USE_SOUNDFILE_LEGACY_INTERFACE = False
# torchaudio.set_audio_backend("soundfile")


class Audio:
Expand Down

0 comments on commit 56e1f08

Please sign in to comment.