Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Deprecation/Future Warnings in Notebook 211-Speech-to-Text (openv…
…inotoolkit#594) * Fix deprecation/future warnings in notebook 211 - [`waveplot` is deprecated in favor of `waveshow` since librosa v0.9.](https://librosa.org/doc/latest/changelog.html?highlight=waveplot#v0-8-1) Note that `max_sr` in [`waveplot`](http://librosa.org/doc/0.8.1/generated/librosa.display.waveplot.html?highlight=max_sr#librosa.display.waveplot) is removed. `max_sr` controls how signals are down-sampled if they’re too long. (`waveplot` uses “a downsampled amplitude envelope” instead) - `librosa.filters.mel` in `audio_to_mel` FutureWarning: Pass `sr=16000, n_fft=512` as keyword args. From version 0.10 passing these as positional arguments will result in an error. * Fix `waveshow` Speech to text notebook 211 `max_points` should be an `int`, not `float`. * add librosa to requirements * Update .docker/Pipfile * Update requirements.txt Co-authored-by: Adrian Boguszewski <[email protected]>
- Loading branch information