Update app.py
Browse files
app.py
CHANGED
|
@@ -319,7 +319,7 @@ def process_entry(entry, i, video_width, video_height, add_voiceover, target_lan
|
|
| 319 |
color='yellow',
|
| 320 |
stroke_color='black', # Border color
|
| 321 |
stroke_width=2, # Border thickness
|
| 322 |
-
|
| 323 |
size=(int(video_width * 0.8), None)
|
| 324 |
).with_start(entry["start"]).with_duration(entry["end"] - entry["start"]).with_position(('bottom')).with_opacity(0.8)
|
| 325 |
|
|
|
|
| 319 |
color='yellow',
|
| 320 |
stroke_color='black', # Border color
|
| 321 |
stroke_width=2, # Border thickness
|
| 322 |
+
fontsize=int(video_height // 20),
|
| 323 |
size=(int(video_width * 0.8), None)
|
| 324 |
).with_start(entry["start"]).with_duration(entry["end"] - entry["start"]).with_position(('bottom')).with_opacity(0.8)
|
| 325 |
|