mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
correct 3.0 pyannote weights
This commit is contained in:
@ -6,10 +6,11 @@ import torch
|
|||||||
|
|
||||||
from .audio import load_audio, SAMPLE_RATE
|
from .audio import load_audio, SAMPLE_RATE
|
||||||
|
|
||||||
|
|
||||||
class DiarizationPipeline:
|
class DiarizationPipeline:
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
model_name="pyannote/speaker-diarization@2.1",
|
model_name="pyannote/speaker-diarization-3.0",
|
||||||
use_auth_token=None,
|
use_auth_token=None,
|
||||||
device: Optional[Union[str, torch.device]] = "cpu",
|
device: Optional[Union[str, torch.device]] = "cpu",
|
||||||
):
|
):
|
||||||
|
Reference in New Issue
Block a user