Spaces:
Runtime error
Runtime error
Renamed Moviepy to Moviepy.py
Browse files- Moviepy β Moviepy.py +1 -1
Moviepy β Moviepy.py
RENAMED
|
@@ -7,7 +7,7 @@ def load_json_output(output_query_response):
|
|
| 7 |
|
| 8 |
def extract_audio_from_video(video_path):
|
| 9 |
video = VideoFileClip(video_path)
|
| 10 |
-
audio_path = "current_audio.mp3"
|
| 11 |
if video.audio is not None:
|
| 12 |
video.audio.write_audiofile(audio_path)
|
| 13 |
print("Audio file has been extracted from the video")
|
|
|
|
| 7 |
|
| 8 |
def extract_audio_from_video(video_path):
|
| 9 |
video = VideoFileClip(video_path)
|
| 10 |
+
audio_path = "audio/current_audio.mp3"
|
| 11 |
if video.audio is not None:
|
| 12 |
video.audio.write_audiofile(audio_path)
|
| 13 |
print("Audio file has been extracted from the video")
|