Replies: 1 comment
-
See this tutorial, section "Processing a file from memory". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
how to use ndarray from soundfile to pipeline. Example says Pipeline takes only audio file.
from pyannote.audio import Pipeline
pipeline = Pipeline.from_pretrained("pyannote/overlapped-speech-detection")
output = pipeline("audio.wav") <-------------------- Want to replace this with below code snippet
import soundfile as sf
waveform, sr = sf.read('sample.wav')
output = pipeline(waveform)
Beta Was this translation helpful? Give feedback.
All reactions