towhee
/
audio-embedding-clmr
copied
shiyu22
2 years ago
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
from towhee import pipe, ops, AutoPipes |
|||
|
|||
@AutoPipes.register |
|||
def AudioEmbeddingVggish(): |
|||
return ( |
|||
pipe.input('path') |
|||
.map('path', 'frame', ops.audio_decode.ffmpeg()) |
|||
.map('frame', 'vec', ops.audio_embedding.clmr()) |
|||
.output('vec') |
|||
) |
|||
|
Loading…
Reference in new issue