Skip to content

Commit

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

Signed-off-by: Nithin Rao Koluguri <nithinraok>

* update transcribe to audio

Signed-off-by: Nithin Rao Koluguri <nithinraok>

---------

Signed-off-by: Nithin Rao Koluguri <nithinraok>
Co-authored-by: Nithin Rao Koluguri <nithinraok>
  • Loading branch information
nithinraok authored May 16, 2024
1 parent 7690b3d commit 3251cdc
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 3251cdc

Please sign in to comment.