reab5555 commited on
Commit
93892b7
·
verified ·
1 Parent(s): cd4a01b

Update voice_analysis.py

Browse files
Files changed (1) hide show
  1. voice_analysis.py +2 -0
voice_analysis.py CHANGED
@@ -3,6 +3,8 @@ from pyannote.audio import Pipeline
3
  import torch
4
  import torchaudio
5
  from pyannote.core import Segment
 
 
6
  import os
7
 
8
  def extract_audio_from_video(video_path):
 
3
  import torch
4
  import torchaudio
5
  from pyannote.core import Segment
6
+ from pyannote.audio import Model
7
+ from pyannote.audio.pipelines.utils.hook import IteratorHook
8
  import os
9
 
10
  def extract_audio_from_video(video_path):