Update asr_diarization/pipeline.py
Browse files
asr_diarization/pipeline.py
CHANGED
|
@@ -25,7 +25,7 @@ from jiwer import wer, Compose, ToLowerCase, RemovePunctuation, RemoveMultipleSp
|
|
| 25 |
class ASR_Diarization:
|
| 26 |
def __init__(self, HF_TOKEN,
|
| 27 |
diar_model="pyannote/speaker-diarization-3.1",
|
| 28 |
-
asr_model="
|
| 29 |
self.HF_TOKEN = HF_TOKEN
|
| 30 |
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 31 |
self._unknown_lock = threading.Lock()
|
|
|
|
| 25 |
class ASR_Diarization:
|
| 26 |
def __init__(self, HF_TOKEN,
|
| 27 |
diar_model="pyannote/speaker-diarization-3.1",
|
| 28 |
+
asr_model="Capstone04/TrainedWhisper"):
|
| 29 |
self.HF_TOKEN = HF_TOKEN
|
| 30 |
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 31 |
self._unknown_lock = threading.Lock()
|