on1onmangoes commited on
Commit
c6d9314
1 Parent(s): 2e9322f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -19,7 +19,9 @@ from transformers.pipelines.audio_utils import ffmpeg_read
19
  HF_TOKEN = os.environ.get("HF_TOKEN")
20
 
21
  # set up the diarization pipeline
22
- diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)
 
 
23
  if torch.cuda.is_available():
24
  diarization_pipeline.to(torch.device("cuda"))
25
 
 
19
  HF_TOKEN = os.environ.get("HF_TOKEN")
20
 
21
  # set up the diarization pipeline
22
+ #diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-3.0", use_auth_token=HF_TOKEN)
23
+ diarization_pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization", use_auth_token=HF_TOKEN)
24
+
25
  if torch.cuda.is_available():
26
  diarization_pipeline.to(torch.device("cuda"))
27