Skip to content

Commit

Permalink
[U] Upgrade pyannote
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Aug 7, 2024
1 parent d64c2d2 commit acc2c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions back/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
gputil
fastapi
transformers
torch
transformers==4.37.2
uvicorn
intervaltree
filemagic
Expand Down
2 changes: 1 addition & 1 deletion back/wp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
model_kwargs={"use_flash_attention_2": True},
)

diarize_pipe = Pipeline.from_pretrained("pyannote/speaker-diarization@2.1.1",
diarize_pipe = Pipeline.from_pretrained("pyannote/speaker-diarization-3.1",
use_auth_token="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")
diarize_pipe.to(device)

Expand Down

0 comments on commit acc2c48

Please sign in to comment.