Prudvireddy commited on
Commit
a4b2673
·
verified ·
1 Parent(s): 5221ed4

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -170,7 +170,7 @@ def create_video_from_images_and_audio(images_dir, speeches_dir, final_video_fil
170
 
171
  final_clip = concatenate_videoclips(clips)
172
  if not final_video_filename.endswith('.mp4'):
173
- final_video_filename = final_video_filename + '.mp4'
174
  final_clip.write_videofile(final_video_filename, codec='libx264', fps=24)
175
 
176
  # Close all video files properly
 
170
 
171
  final_clip = concatenate_videoclips(clips)
172
  if not final_video_filename.endswith('.mp4'):
173
+ final_video_filename = final_video_filename + '.mp4'
174
  final_clip.write_videofile(final_video_filename, codec='libx264', fps=24)
175
 
176
  # Close all video files properly