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