Spaces:
Paused
Paused
Update audio.py
Browse files
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()
|