Update app.py
Browse files
app.py
CHANGED
@@ -251,7 +251,7 @@ def add_transcript_voiceover(video_path, translated_json, output_path, add_voice
|
|
251 |
font=font_path,
|
252 |
method='caption',
|
253 |
color='yellow',
|
254 |
-
|
255 |
size=(max_subtitle_width, None)
|
256 |
).with_start(entry["start"]).with_duration(entry["end"] - entry["start"]).with_position(('bottom')).with_opacity(0.7)
|
257 |
text_clips.append(txt_clip)
|
|
|
251 |
font=font_path,
|
252 |
method='caption',
|
253 |
color='yellow',
|
254 |
+
font_size=subtitle_font_size,
|
255 |
size=(max_subtitle_width, None)
|
256 |
).with_start(entry["start"]).with_duration(entry["end"] - entry["start"]).with_position(('bottom')).with_opacity(0.7)
|
257 |
text_clips.append(txt_clip)
|