Skip to content

Commit

Permalink
fix(pre-sd): set speaker-diarization version to 3.1 for pyannote.audi…
Browse files Browse the repository at this point in the history
…o 3.1.1 compatibility (#1157)
  • Loading branch information
annagorshunova committed Apr 9, 2024
1 parent a7bec74 commit 9bd3089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _process_one(
LOG.warning(f"Failed to read {input_path}: {e}")
return
pipeline = Pipeline.from_pretrained(
"pyannote/speaker-diarization", use_auth_token=huggingface_token
"pyannote/speaker-diarization-3.1", use_auth_token=huggingface_token
)
if pipeline is None:
raise ValueError("Failed to load pipeline")
Expand Down

0 comments on commit 9bd3089

Please sign in to comment.