diff --git a/demos/audio_tagging/README.md b/demos/audio_tagging/README.md index d679ea54e..9d4af0be6 100644 --- a/demos/audio_tagging/README.md +++ b/demos/audio_tagging/README.md @@ -65,7 +65,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe config=None, # Set `config` and `ckpt_path` to None to use pretrained model. label_file=None, ckpt_path=None, - input_file='./cat.wav', + audio_file='./cat.wav', topk=10, device=paddle.get_device()) print('CLS Result: \n{}'.format(result)) diff --git a/demos/audio_tagging/README_cn.md b/demos/audio_tagging/README_cn.md index bd94dd588..79f87bf8c 100644 --- a/demos/audio_tagging/README_cn.md +++ b/demos/audio_tagging/README_cn.md @@ -65,7 +65,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe config=None, # Set `config` and `ckpt_path` to None to use pretrained model. label_file=None, ckpt_path=None, - input_file='./cat.wav', + audio_file='./cat.wav', topk=10, device=paddle.get_device()) print('CLS Result: \n{}'.format(result))