Spaces:
Runtime error
Runtime error
a.pourmand
commited on
Commit
•
c9d0859
1
Parent(s):
ce4d2b4
change
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ To duplicate this repo, you have to give permission from three reopsitories and
|
|
27 |
3- https://hf.co/pyannote/speaker-diarization
|
28 |
|
29 |
"""
|
30 |
-
|
31 |
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization",use_auth_token=HF_API)
|
32 |
def predict(target_language, number_of_speakers, final_audio):
|
33 |
if number_of_speakers == 0:
|
|
|
27 |
3- https://hf.co/pyannote/speaker-diarization
|
28 |
|
29 |
"""
|
30 |
+
from pyannote.audio import Pipeline
|
31 |
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization",use_auth_token=HF_API)
|
32 |
def predict(target_language, number_of_speakers, final_audio):
|
33 |
if number_of_speakers == 0:
|