Skip to content

Commit

Permalink
rename paths2audiofiles to audio (NVIDIA#9209) (NVIDIA#9220)
Browse files Browse the repository at this point in the history
* rename paths2audiofiles to audio



* update transcribe to audio



---------

Signed-off-by: Nithin Rao Koluguri <nithinraok>
Co-authored-by: Nithin Rao <nithinrao.koluguri@gmail.com>
  • Loading branch information
github-actions[bot] and nithinraok authored May 16, 2024
1 parent e465b9c commit 73edac4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tutorials/VoiceSwapSample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"files = [Audio_sample]\n",
"raw_text = ''\n",
"text = ''\n",
"for fname, transcription in zip(files, quartznet.transcribe(paths2audio_files=files)):\n",
"for fname, transcription in zip(files, quartznet.transcribe(audio=files)):\n",
" raw_text = transcription\n",
"\n",
"# Add capitalization and punctuation\n",
Expand Down
6 changes: 3 additions & 3 deletions tutorials/asr/Multilang_ASR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@
},
"outputs": [],
"source": [
"asr_model.transcribe(transcribe = es_files) [0]"
"asr_model.transcribe(audio = es_files) [0]"
]
},
{
Expand Down Expand Up @@ -1173,7 +1173,7 @@
},
"outputs": [],
"source": [
"asr_model.transcribe(transcribe = en_files)[0]"
"asr_model.transcribe(audio = en_files)[0]"
]
},
{
Expand Down Expand Up @@ -1221,7 +1221,7 @@
},
"outputs": [],
"source": [
"asr_model.transcribe(transcribe = es_files)[0]"
"asr_model.transcribe(audio = es_files)[0]"
]
},
{
Expand Down

0 comments on commit 73edac4

Please sign in to comment.