Spaces:
Sleeping
Sleeping
| #import gradio as gr | |
| #gr.Interface.load("models/pyannote/speaker-diarization").launch() | |
| from pyannote.audio import Pipeline | |
| pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization") | |
| # inference on the whole file | |
| pipeline("file.wav") |