Luongsosad commited on
Commit
494fb2c
·
verified ·
1 Parent(s): 4e8e2ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def create_single_video(args):
40
  wrapped_text = wrap_text(script, width + 460, font_size=20)
41
  wrapped_text = wrapped_text.replace(":", "\\:").replace("'", "\\'")
42
  text_height = calculate_text_height(wrapped_text, font_size=20, line_spacing=10)
43
- y_position = height - text_height - 30
44
 
45
  font_path = "fonts/Roboto-VariableFont_wdth\,wght.ttf"
46
 
 
40
  wrapped_text = wrap_text(script, width + 460, font_size=20)
41
  wrapped_text = wrapped_text.replace(":", "\\:").replace("'", "\\'")
42
  text_height = calculate_text_height(wrapped_text, font_size=20, line_spacing=10)
43
+ y_position = height - text_height - 36
44
 
45
  font_path = "fonts/Roboto-VariableFont_wdth\,wght.ttf"
46