From ba5e70a61d691275df9db9603b009ca8ee16b014 Mon Sep 17 00:00:00 2001 From: Hasan Mehdi Date: Thu, 30 May 2024 11:37:57 -0400 Subject: [PATCH] Updated readme embed-extraction pipeline --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b248604f..25138bea 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,7 @@ mic = MicrophoneAudioSource() stream = mic.stream.pipe( # Reformat stream to 5s duration and 500ms shift - dops.rearrange_audio_stream(sample_rate=segmentation.model.sample_rate), + dops.rearrange_audio_stream(sample_rate=16000), ops.map(lambda wav: (wav, segmentation(wav))), ops.starmap(embedding) ).subscribe(on_next=lambda emb: print(emb)) #emb.shape to display shape