Spaces:
Running
Running
Update app.py
Browse files
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 -
|
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 |
|