Update main.py
Browse files68 unmodified lines6970717273745 unmodified lines80818283848568 unmodified linesawait f.write(f"file '{image_paths[-1]}'\n")# Run ffmpeg command to create slideshow with audiocmd = ["ffmpeg","-f", "concat",5 unmodified lines"-c:a", "aac","-shortest","-y",output_path]68 unmodified lines697071727374755 unmodified lines8182838485868768 unmodified linesawait f.write(f"file '{image_paths[-1]}'\n")# Run ffmpeg command to create slideshow with audiototal_duration = len(image_paths) * durationcmd = ["ffmpeg","-f", "concat",5 unmodified lines"-c:a", "aac","-shortest","-y","-t", str(total_duration),output_path]
main.py+2