ZiyuG commited on
Commit
346f11e
1 Parent(s): 57489b3

Update audio.py

Browse files
Files changed (1) hide show
  1. audio.py +3 -3
audio.py CHANGED
@@ -43,9 +43,9 @@ def gen_audio(subtitles, tmpdir):
43
  print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')
44
  return tmpdir + '/output_with_subtitles.mp4'
45
 
46
- combined_clip.write_videofile(tmpdir + '/output_with_subtitles.mp4', fps=24)
47
- print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')
48
- return tmpdir + '/output_with_subtitles.mp4'
49
 
50
  def generate_audio(subtitles, total_duration):
51
  temp_audio_path = tempfile.mkdtemp()
 
43
  print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')
44
  return tmpdir + '/output_with_subtitles.mp4'
45
 
46
+ # combined_clip.write_videofile(tmpdir + '/output_with_subtitles.mp4', fps=24)
47
+ # print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')
48
+ # return tmpdir + '/output_with_subtitles.mp4'
49
 
50
  def generate_audio(subtitles, total_duration):
51
  temp_audio_path = tempfile.mkdtemp()