ZiyuG commited on
Commit
2c531e7
·
verified ·
1 Parent(s): d650e96

Update audio.py

Browse files
Files changed (1) hide show
  1. audio.py +1 -1
audio.py CHANGED
@@ -36,7 +36,7 @@ def gen_audio(subtitles, tmpdir):
36
  return CompositeVideoClip([clip, *txt_clips])
37
 
38
  if len(subtitles) != 0:
39
- video_with_subtitles = add_subtitles(combined_clip, subtitles)
40
  else:
41
  combined_clip.write_videofile(tmpdir + '/output_with_subtitles.mp4', fps=24)
42
  print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')
 
36
  return CompositeVideoClip([clip, *txt_clips])
37
 
38
  if len(subtitles) != 0:
39
+ video_with_subtitles = combined_clip #add_subtitles(combined_clip, subtitles)
40
  else:
41
  combined_clip.write_videofile(tmpdir + '/output_with_subtitles.mp4', fps=24)
42
  print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')