From 76f4e7ee245cebad00145afef793dad6eb9fbd4e Mon Sep 17 00:00:00 2001 From: wxywb Date: Wed, 20 Jul 2022 11:31:34 +0800 Subject: [PATCH] update the readme. Signed-off-by: wxywb --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5382860..86b3935 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ import towhee towhee.glob('test.wav') .audio_decode.ffmpeg() .runas_op(func=lambda x:[y[0] for y in x]) - .towhee.data2vec() + .audio_embedding.data2vec() .show() ) @@ -43,7 +43,7 @@ import towhee towhee.glob['path']('test.wav') .audio_decode.ffmpeg['path', 'frames']() .runas_op['frames', 'frames'](func=lambda x:[y[0] for y in x]) - .towhee.data2vec['frames', 'vecs'](model_name="facebook/data2vec-audio-base-960h") + .audio_embedding.data2vec['frames', 'vecs'](model_name="facebook/data2vec-audio-base-960h") .show() ) ```