logo
Browse Source

update the readme.

Signed-off-by: wxywb <xy.wang@zilliz.com>
main
wxywb 3 years ago
parent
commit
76f4e7ee24
  1. 4
      README.md

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

Loading…
Cancel
Save