Update voice_analysis.py
Browse files- voice_analysis.py +1 -0
voice_analysis.py
CHANGED
@@ -6,6 +6,7 @@ from pyannote.audio import Pipeline
|
|
6 |
from pyannote.core import Segment
|
7 |
from pyannote.audio import Model
|
8 |
import os
|
|
|
9 |
|
10 |
def extract_audio_from_video(video_path):
|
11 |
video = mp.VideoFileClip(video_path)
|
|
|
6 |
from pyannote.core import Segment
|
7 |
from pyannote.audio import Model
|
8 |
import os
|
9 |
+
import numpy as np
|
10 |
|
11 |
def extract_audio_from_video(video_path):
|
12 |
video = mp.VideoFileClip(video_path)
|