gryannote: a speaker diarization labeling tool
gryannote is a collection of Gradio custom components focusing on the labeling of speaker diarization data. Integrated with the pyannote speaker diarization ecosystem, it allows to build web applications to load pretrained pyannote pipelines and customize their hyper-parameters, upload or record an audio file, process it with the pipeline, visualize and interact with its outputs, correct them if needed, and export the final annotation in RTTM format. Each of these components can be used independently from each other.
Available Gradio custom components
Here is the list of Gradio custom components integrated in gryannote
Installation
pip install gryannote
Usage
The following code snippet show how to use the gryannote_audio component with a pyannote pipeline in just a few lines of code. You can find a complete example that uses the three component
in app.py script.
import gradio as gr
from gryannote_audio import AudioLabeling
from pyannote.audio import Pipeline
audio_labeling = AudioLabeling(type="filepath", interactive=True)
def apply_pipeline(audio):
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.1")
annotations = pipeline(audio)
return (audio, annotations)
demo = gr.Interface(apply_pipeline, inputs=audio_labeling, outputs=audio_labeling)
demo.launch()
Interface
Launching demo/app.py script will generate the following interface. This interface uses the three gryannote components. More details about these components and their interface can be found
in their respective README.
RTTM annotations in RTTM component are dynamically updated according to the audio labeling made in the audio component.
Try it!
A gryannote app can be runned in this Hugging Face space
Citation
If you are using gryannote, please use the following citation:
@inproceedings{pages24_interspeech,
title = {Gryannote open-source speaker diarization labeling tool},
author = {Clément Pages and Hervé Bredin},
year = {2024},
booktitle = {Interspeech 2024},
pages = {3650--3651},
}
Metadata
Release files for gryannote 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gryannote-0.3.3.tar.gz | 2.2 MB | Without provenance | Details for gryannote-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gryannote-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for gryannote-0.3.3-py3-none-any.whl |
Total release size: 2.5 MB
Release files / gryannote-0.3.3.tar.gz
| Download URL | gryannote-0.3.3.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8e4b2d908dec3b47cdaf417cec1530c56adf3b228ad8444e80a0dc2392d8e45
|
|
BLAKE2b-256 checksum How to use checksums |
f61252fbe3efcf2ae940eec11017c8978e1dd29767a7349e87d61009a3e6e295
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / gryannote-0.3.3-py3-none-any.whl
| Download URL | gryannote-0.3.3-py3-none-any.whl |
|---|---|
| Size | 296.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2513b7a3623a887e947b6765201d1d0f38dd5331f1b7544828187c0549ffeda3
|
|
BLAKE2b-256 checksum How to use checksums |
a18b53179fdda2f36d76670162335c1f984124565f2117f09567756e95d95cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for gryannote 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.