Update chunkedTranscriber.py
Browse files- chunkedTranscriber.py +1 -1
chunkedTranscriber.py
CHANGED
@@ -27,7 +27,7 @@ class ChunkedTranscriber:
|
|
27 |
"""
|
28 |
Load the pre-trained speaker diarization pipeline from pyannote-audio.
|
29 |
"""
|
30 |
-
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=
|
31 |
return pipeline
|
32 |
|
33 |
@spaces.GPU(duration=60)
|
|
|
27 |
"""
|
28 |
Load the pre-trained speaker diarization pipeline from pyannote-audio.
|
29 |
"""
|
30 |
+
pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=os.getenv("HF_TOKEN"))
|
31 |
return pipeline
|
32 |
|
33 |
@spaces.GPU(duration=60)
|