Spaces:
Running
on
A10G
Running
on
A10G
Update audio.py
Browse files
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):
|