Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deprecated demo audio files #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)。这里我们随机选择了一个英文音频文件和一个中文音频文件。您可以根据自己的喜好选择不同的音频文件。"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion ch_5_AppDev_Intermediate/5_2_Speech_Recognition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
{
Expand Down