You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from pyannote.audio import Pipeline
pipeline = Pipeline.from_pretrained("pyannote/speaker-segmentation")
output = pipeline("audio.wav")
for turn, _, speaker in output.itertracks(yield_label=True):
# speaker speaks between turn.start and turn.end
tried to run the example of speaker segmentation got the following error:
ImportError: cannot import name 'Pipeline' from 'pyannote.audio'
The text was updated successfully, but these errors were encountered: