Spaces:
Runtime error
Runtime error
Commit
·
2d076c6
1
Parent(s):
c153aa4
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,11 @@ from gradio_client import Client
|
|
| 15 |
from pyannote.audio import Pipeline
|
| 16 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
|
|
|
|
| 15 |
from pyannote.audio import Pipeline
|
| 16 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
| 17 |
|
| 18 |
+
HF_TOKEN = "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"
|
| 19 |
+
# set up the diarization pipeline
|
| 20 |
+
diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)
|
| 21 |
+
|
| 22 |
+
|
| 23 |
|
| 24 |
|
| 25 |
|