Spaces:
Running
on
Zero
Running
on
Zero
Update whisper_cs.py (#24)
Browse files- Update whisper_cs.py (5274d6446e96683738d661e78731c868a395f377)
Co-authored-by: Sarah Solito <[email protected]>
- whisper_cs.py +1 -1
whisper_cs.py
CHANGED
@@ -212,7 +212,7 @@ def transcribe_audio(model, audio_path: str) -> Dict:
|
|
212 |
|
213 |
|
214 |
|
215 |
-
diarization_pipeline = DiarizationPipeline.from_pretrained("pyannote/
|
216 |
align_model, metadata = whisperx.load_align_model(language_code="en", device=DEVICE)
|
217 |
|
218 |
asr_pipe = pipeline(
|
|
|
212 |
|
213 |
|
214 |
|
215 |
+
diarization_pipeline = DiarizationPipeline.from_pretrained(".pyannote/config.yaml")
|
216 |
align_model, metadata = whisperx.load_align_model(language_code="en", device=DEVICE)
|
217 |
|
218 |
asr_pipe = pipeline(
|