a.pourmand commited on
Commit
c9d0859
1 Parent(s): ce4d2b4
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ To duplicate this repo, you have to give permission from three reopsitories and
27
  3- https://hf.co/pyannote/speaker-diarization
28
 
29
  """
30
-
31
  pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization",use_auth_token=HF_API)
32
  def predict(target_language, number_of_speakers, final_audio):
33
  if number_of_speakers == 0:
 
27
  3- https://hf.co/pyannote/speaker-diarization
28
 
29
  """
30
+ from pyannote.audio import Pipeline
31
  pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization",use_auth_token=HF_API)
32
  def predict(target_language, number_of_speakers, final_audio):
33
  if number_of_speakers == 0: