Update whisper_cs.py

#25
by ssolito - opened
Files changed (1) hide show
  1. 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/config.yaml")
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(