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