datasciencedojo commited on
Commit
d7be2fc
1 Parent(s): 5fe602c

Change pipeline

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ asr = pipeline(
9
 
10
  )
11
 
12
- speaker_segmentation = Pipeline.from_pretrained("pyannote/speaker-segmentation")
13
 
14
  def segmentation(audio):
15
  speaker_output = speaker_segmentation(audio)
 
9
 
10
  )
11
 
12
+ speaker_segmentation = Pipeline.from_pretrained("pyannote/speaker-diarization@2.1")
13
 
14
  def segmentation(audio):
15
  speaker_output = speaker_segmentation(audio)