From a142c986c04fb22df75a6b99da91d0f689b35030 Mon Sep 17 00:00:00 2001 From: Mingyu-Wei <2370686225@qq.com> Date: Thu, 29 Feb 2024 16:31:32 +0800 Subject: [PATCH] update deprecated demo audio files --- .../5_2_Speech_Recognition.ipynb | 16 +--------------- .../5_2_Speech_Recognition.ipynb | 2 +- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/Chinese_Version/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb b/Chinese_Version/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb index 5956f92..2a3f664 100644 --- a/Chinese_Version/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb +++ b/Chinese_Version/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb @@ -51,21 +51,7 @@ "source": [ "## 5.2.2 下载音频文件\n", "\n", - "首先,让我们准备一些音频文件。例如,您可以从支持多语言的 [common_voice](https://huggingface.co/datasets/common_voice/viewer/en/train) 数据集中下载音频文件。这里我们随机选择了一个英文音频文件和一个中文音频文件。您可以根据自己的喜好选择不同的音频文件。" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "vscode": { - "languageId": "plaintext" - } - }, - "outputs": [], - "source": [ - "!wget -O audio_en.mp3 https://datasets-server.huggingface.co/assets/common_voice/--/en/train/5/audio/audio.mp3\n", - "!wget -O audio_zh.mp3 https://datasets-server.huggingface.co/assets/common_voice/--/zh-CN/train/2/audio/audio.mp3" + "首先,让我们准备一些音频文件。例如,您可以从[Blizzard 2013](https://www.cstr.ed.ac.uk/projects/blizzard/)数据集中下载一个[英文音频文件样本](https://audio-samples.github.io/samples/mp3/blizzard_tts_unbiased/sample-0/real.mp3),以及从[AIShell](https://www.aishelltech.com/kysjcp)数据集中下载一个[中文音频文件样本](https://github.com/chenmingxiang110/Chinese-automatic-speech-recognition/raw/master/data/test.wav)。这里我们随机选择了一个英文音频文件和一个中文音频文件。您可以根据自己的喜好选择不同的音频文件。" ] }, { diff --git a/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb b/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb index b134ec5..ba7291f 100644 --- a/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb +++ b/ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb @@ -51,7 +51,7 @@ "source": [ "## 5.2.2 Download Audio Files\n", "\n", - "To begin, let's prepare some audio files. As an example, you can download [an English example](https://datasets-server.huggingface.co/assets/patrickvonplaten/librispeech_asr_dummy/--/clean/validation/2/audio/audio.wav) from English audio dataset [librispeech_asr_dummy](https://huggingface.co/datasets/patrickvonplaten/librispeech_asr_dummy) and [one Chinese example](https://datasets-server.huggingface.co/assets/carlot/AIShell/--/692ef58020d79b21f54eb25b15a4813d4f9650d7/--/default/train/84/audio/audio.wav) from the Chinese audio dataset [AIShell](https://huggingface.co/datasets/carlot/AIShell). Here, the English audio file and the Chinese audio file have been randomly selected. Feel free to choose different audio files according to your preferences." + "To begin, let's prepare some audio files. As an example, you can download [an English example](https://audio-samples.github.io/samples/mp3/blizzard_tts_unbiased/sample-0/real.mp3) from the [Blizzard 2013](https://www.cstr.ed.ac.uk/projects/blizzard/) dataset and [one Chinese example](https://github.com/chenmingxiang110/Chinese-automatic-speech-recognition/raw/master/data/test.wav) from the Chinese audio dataset [AIShell](https://www.aishelltech.com/kysjcp). Here, the English audio file and the Chinese audio file have been randomly selected. Feel free to choose different audio files according to your preferences." ] }, {