DGSpitzer commited on
Commit
f71f213
1 Parent(s): 188b4e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(music).info.length)
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'