Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ whisper_device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
25 |
whisper = whisperx.load_model("tiny.en", whisper_device)
|
26 |
alignment_model, metadata = whisperx.load_align_model(language_code="en", device=whisper_device)
|
27 |
speaker_segmentation = Pipeline.from_pretrained("pyannote/speaker-diarization@2.1",
|
28 |
-
use_auth_token=os.environ['
|
29 |
|
30 |
|
31 |
# Text components
|
|
|
25 |
whisper = whisperx.load_model("tiny.en", whisper_device)
|
26 |
alignment_model, metadata = whisperx.load_align_model(language_code="en", device=whisper_device)
|
27 |
speaker_segmentation = Pipeline.from_pretrained("pyannote/speaker-diarization@2.1",
|
28 |
+
use_auth_token=os.environ['ENO_TOKEN'])
|
29 |
|
30 |
|
31 |
# Text components
|