juanmc2005 / diart

A python package to build AI-powered real-time audio applications
https://diart.readthedocs.io
MIT License
1.1k stars 90 forks source link

Is this code being used into the pyannote-audio >= 2.1 ? #247

Open nikifori opened 1 month ago

nikifori commented 1 month ago

Based on this paper may I assume that versions of pyannote-audio >= 2.1 are using the diart methodology?

For example, if I run this code, will it be executed in an online manner?

    pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.1")
    pipeline.to(device)

    # Apply the pipeline to the audio file
    diarization = pipeline(
        audio_path,
        num_speakers=8,
    )

Thanks

juanmc2005 commented 2 weeks ago

Hi @nikifori ! diart leverages pyannote.audio models, but pyannote.audio does not provide online inference in their pipelines.