Skip to content

Commit

Permalink
Fix librosa issue (#7994) (#7995)
Browse files Browse the repository at this point in the history
Signed-off-by: smajumdar <[email protected]>
Co-authored-by: Somshubra Majumdar <[email protected]>
  • Loading branch information
github-actions[bot] and titu1994 authored Dec 7, 2023
1 parent c822d5c commit 25f066f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/asr/ASR_with_NeMo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
},
"source": [
"# Plot the mel spectrogram of our sample\n",
"mel_spec = librosa.feature.melspectrogram(audio, sr=sample_rate)\n",
"mel_spec = librosa.feature.melspectrogram(y=audio, sr=sample_rate)\n",
"mel_spec_db = librosa.power_to_db(mel_spec, ref=np.max)\n",
"\n",
"librosa.display.specshow(\n",
Expand Down

0 comments on commit 25f066f

Please sign in to comment.