import moviepy.editor as mp
def extract_audio(video, audio):
my_clip = mp.VideoFileClip(video)
my_clip.audio.write_audiofile(audio)
import moviepy.editor as mp
def extract_audio(video, audio):
my_clip = mp.VideoFileClip(video)
my_clip.audio.write_audiofile(audio)