ZiyuG commited on
Commit
808c5d2
1 Parent(s): 2c531e7

Update audio.py

Browse files
Files changed (1) hide show
  1. audio.py +1 -0
audio.py CHANGED
@@ -20,6 +20,7 @@ def gen_audio(subtitles, tmpdir):
20
  for subtitle in subtitles:
21
  print(subtitle)
22
  combined_clip = VideoFileClip(tmpdir + "/output.mp4")
 
23
  total_duration = combined_clip.duration
24
 
25
  def add_subtitles(clip, subtitles):
 
20
  for subtitle in subtitles:
21
  print(subtitle)
22
  combined_clip = VideoFileClip(tmpdir + "/output.mp4")
23
+ combined_clip = combined_clip.resize(width=800)
24
  total_duration = combined_clip.duration
25
 
26
  def add_subtitles(clip, subtitles):