Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pipeline): add official client for pyannoteAI web API #1845

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

hbredin
Copy link
Member

@hbredin hbredin commented Feb 16, 2025

This is a work in progress that allows pyannoteAI users to send speaker diarization requests from pyannote.audio usual API.

from pyannote.audio import Pipeline
pipeline = Pipeline.from_pretrained('hbredin/test-api", token="{pyannoteAI-api-token}")
diarization = pipeline("/path/to/audio.wav")

The above code will:

  • upload the audio file to pyannoteAI web API
  • initiate a diarization job
  • retrieve the job output once completed
  • deserialize the output into a good old pyannote.core.Annotation instance

@hbredin hbredin requested a review from juanmc2005 February 17, 2025 13:11
@hbredin hbredin marked this pull request as ready for review March 6, 2025 13:10
@hbredin
Copy link
Member Author

hbredin commented Mar 6, 2025

This is now ready for review but expects this WIP package to be installed.

@hbredin hbredin requested review from juanmc2005 and removed request for juanmc2005 March 6, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants