未验证 提交 4ab85d1b 编写于 作者: Z Zth9730 提交者: GitHub

PP-ASR (#5572)

* add PP-ASR

* add PP-ASR

* add PP-ASR

* add PP-ASR

* add PP-ASR
上级 5e2144c8
......@@ -98,7 +98,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install paddlespeech"
"!pip install paddlespeech==1.2.0\n",
"!pip install paddleaudio==1.0.1\n"
]
},
{
......@@ -133,7 +134,7 @@
"from paddlespeech.cli.asr.infer import ASRExecutor\n",
"audio = \"zh.wav\"\n",
"asr = ASRExecutor()\n",
"result = asr(audio_file=audio)\n",
"result = asr(audio_file=audio, model='conformer_online_wenetspeech')\n",
"print(result)"
]
},
......
......@@ -98,7 +98,8 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install paddlespeech"
"!pip install paddlespeech==1.2.0\n",
"!pip install paddleaudio==1.0.1"
]
},
{
......@@ -133,7 +134,7 @@
"from paddlespeech.cli.asr.infer import ASRExecutor\n",
"audio = \"zh.wav\"\n",
"asr = ASRExecutor()\n",
"result = asr(audio_file=audio)\n",
"result = asr(audio_file=audio, model='conformer_online_wenetspeech')\n",
"print(result)"
]
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册