Upload folder using huggingface_hub
Browse files
asr_diarization/pipeline.py
CHANGED
|
@@ -28,6 +28,7 @@ class ASR_Diarization:
|
|
| 28 |
model=asr_model,
|
| 29 |
device=0 if self.device == "cuda" else -1,
|
| 30 |
return_timestamps=True,
|
|
|
|
| 31 |
)
|
| 32 |
|
| 33 |
def run_diarization(self, audio_path):
|
|
|
|
| 28 |
model=asr_model,
|
| 29 |
device=0 if self.device == "cuda" else -1,
|
| 30 |
return_timestamps=True,
|
| 31 |
+
use_auth_token = HF_TOKEN,
|
| 32 |
)
|
| 33 |
|
| 34 |
def run_diarization(self, audio_path):
|