Update app.py
Browse files
app.py
CHANGED
|
@@ -319,7 +319,6 @@ def process_entry(entry, i, video_width, video_height, add_voiceover, target_lan
|
|
| 319 |
stroke_color='black',
|
| 320 |
stroke_width=2,
|
| 321 |
fontsize=int(video_height // 20),
|
| 322 |
-
method="label" # <-- Use this instead of "caption"
|
| 323 |
).with_start(entry["start"]).with_duration(entry["end"] - entry["start"]).with_position(('bottom')).with_opacity(0.8)
|
| 324 |
|
| 325 |
audio_segment = None
|
|
|
|
| 319 |
stroke_color='black',
|
| 320 |
stroke_width=2,
|
| 321 |
fontsize=int(video_height // 20),
|
|
|
|
| 322 |
).with_start(entry["start"]).with_duration(entry["end"] - entry["start"]).with_position(('bottom')).with_opacity(0.8)
|
| 323 |
|
| 324 |
audio_segment = None
|