mirror of
https://github.com/pyannote/pyannote-audio.git
synced 2026-11-20 13:07:51 +09:00
fix(pipeline): fix HF authentication for Speechbrain speaker embedding
This commit is contained in:
1 parent
8e7f18ad68
commit
5e9682583f
2 files changed
+3
-2
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
- feat(sample): add transcription of sample file
|
||||
- setup: relax torch dependencies constraints
|
||||
- fix(pipeline): fix HF authentication for Speechbrain speaker embedding [@krisoye](https://github.com/krisoye)
|
||||
|
||||
## Version 4.0.3 (2025-12-07)
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ class SpeechBrainPretrainedSpeakerEmbedding(BaseInference):
|
||||
source=self.embedding,
|
||||
savedir=f"{self.cache_dir}/speechbrain",
|
||||
run_opts={"device": self.device},
|
||||
use_auth_token=self.token,
|
||||
token=self.token,
|
||||
huggingface_cache_dir=self.cache_dir,
|
||||
revision=self.revision,
|
||||
)
|
||||
@@ -271,7 +271,7 @@ class SpeechBrainPretrainedSpeakerEmbedding(BaseInference):
|
||||
source=self.embedding,
|
||||
savedir=f"{self.cache_dir}/speechbrain",
|
||||
run_opts={"device": device},
|
||||
use_auth_token=self.token,
|
||||
token=self.token,
|
||||
huggingface_cache_dir=self.cache_dir,
|
||||
revision=self.revision,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user