Spaces:
Running
on
A10G
Running
on
A10G
Update audio.py
Browse files
audio.py
CHANGED
@@ -64,6 +64,8 @@ def gen_audio(subtitles, tmpdir):
|
|
64 |
video_with_audio = video_with_subtitles.set_audio(audio_clip)
|
65 |
|
66 |
video_with_audio.write_videofile(tmpdir + '/output_with_subtitles.mp4', fps=24)
|
|
|
|
|
67 |
return tmpdir + '/output_with_subtitles.mp4'
|
68 |
|
69 |
|
|
|
64 |
video_with_audio = video_with_subtitles.set_audio(audio_clip)
|
65 |
|
66 |
video_with_audio.write_videofile(tmpdir + '/output_with_subtitles.mp4', fps=24)
|
67 |
+
|
68 |
+
print("Generated Video with Subtitles to:", tmpdir + '/output_with_subtitles.mp4')
|
69 |
return tmpdir + '/output_with_subtitles.mp4'
|
70 |
|
71 |
|