enoreyes commited on
Commit
5d9cd28
1 Parent(s): 9dd18d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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['HF_TOKEN'])
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