From 73edac445e7881500d17e288ef04fcc406a69f4e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 16:55:10 -0400 Subject: [PATCH] rename paths2audiofiles to audio (#9209) (#9220) * rename paths2audiofiles to audio * update transcribe to audio --------- Signed-off-by: Nithin Rao Koluguri Co-authored-by: Nithin Rao --- tutorials/VoiceSwapSample.ipynb | 2 +- tutorials/asr/Multilang_ASR.ipynb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/VoiceSwapSample.ipynb b/tutorials/VoiceSwapSample.ipynb index addf19f3b236..c56544d9a043 100644 --- a/tutorials/VoiceSwapSample.ipynb +++ b/tutorials/VoiceSwapSample.ipynb @@ -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", diff --git a/tutorials/asr/Multilang_ASR.ipynb b/tutorials/asr/Multilang_ASR.ipynb index 6354ce10ec6d..9877b983f2a1 100644 --- a/tutorials/asr/Multilang_ASR.ipynb +++ b/tutorials/asr/Multilang_ASR.ipynb @@ -701,7 +701,7 @@ }, "outputs": [], "source": [ - "asr_model.transcribe(transcribe = es_files) [0]" + "asr_model.transcribe(audio = es_files) [0]" ] }, { @@ -1173,7 +1173,7 @@ }, "outputs": [], "source": [ - "asr_model.transcribe(transcribe = en_files)[0]" + "asr_model.transcribe(audio = en_files)[0]" ] }, { @@ -1221,7 +1221,7 @@ }, "outputs": [], "source": [ - "asr_model.transcribe(transcribe = es_files)[0]" + "asr_model.transcribe(audio = es_files)[0]" ] }, {