Skip to content

Commit

Permalink
Remove kaldiio from list
Browse files Browse the repository at this point in the history
Signed-off-by: smajumdar <titu1994@gmail.com>
  • Loading branch information
titu1994 committed Apr 22, 2022
1 parent 0ccbec6 commit 3fbf497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/collections/asr/parts/preprocessing/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def from_file(
logging.error(f"Loading {audio_file} via pydub raised CouldntDecodeError: `{err}`.")

if samples is None:
libs = "soundfile, kaldiio, and pydub" if HAVE_PYDUB else "soundfile"
libs = "soundfile, and pydub" if HAVE_PYDUB else "soundfile"
raise Exception(f"Your audio file {audio_file} could not be decoded. We tried using {libs}.")

return cls(samples, sample_rate, target_sr=target_sr, trim=trim, orig_sr=orig_sr)
Expand Down

0 comments on commit 3fbf497

Please sign in to comment.