Update app.py
Browse files
app.py
CHANGED
@@ -114,6 +114,7 @@ def process_image(image_in):
|
|
114 |
'''
|
115 |
|
116 |
def extract_audio(video_path):
|
|
|
117 |
# Check if the video has audio
|
118 |
if video_clip.audio is not None:
|
119 |
audio_clip = video_clip.audio
|
|
|
114 |
'''
|
115 |
|
116 |
def extract_audio(video_path):
|
117 |
+
video_clip = VideoFileClip(video_path)
|
118 |
# Check if the video has audio
|
119 |
if video_clip.audio is not None:
|
120 |
audio_clip = video_clip.audio
|