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() ) ```