Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def merge_video(music, img_list):
|
|
112 |
print('wav audio converted to mp3 audio' )
|
113 |
print('now getting duration of this mp3 audio' )
|
114 |
#getting audio clip's duration
|
115 |
-
audio_length = int(MP3(
|
116 |
print('Audio length is :',audio_length)
|
117 |
|
118 |
file_name = 'video_no_audio.mp4'
|
|
|
112 |
print('wav audio converted to mp3 audio' )
|
113 |
print('now getting duration of this mp3 audio' )
|
114 |
#getting audio clip's duration
|
115 |
+
audio_length = int(MP3(mp3file_name).info.length)
|
116 |
print('Audio length is :',audio_length)
|
117 |
|
118 |
file_name = 'video_no_audio.mp4'
|