Spaces:
Running
on
Zero
Running
on
Zero
Update whisper_cs.py (#25)
Browse files- Update whisper_cs.py (a86453b9302a48f56d8b739ef9e5d1103580c113)
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("
|
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(
|