Update README_cn.md

使用英文音频时,需要指定英文模型和语言,否则会出现报错
pull/3711/head
ljh 2 years ago committed by GitHub
parent 969f33999f
commit 53760fd159
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -44,3 +44,12 @@ ffmpeg -i subtitle_demo1.mp4 -ac 1 -ar 16000 -vn input.wav
Text Result:
当我说我可以把三十年的经验变成一个准确的算法,他们说不可能。当我说我们十个人就能实现对十九个城市变电站七乘二十四小时的实时监管,他们说不可能。
```
使用英文音频时,需要指定模型和语言:
```py
text = asr_executor(
audio_file='en.wav',
lang='en',
model='transformer_librispeech',
device=paddle.get_device())
```

Loading…
Cancel
Save