Spaces:
Build error
Build error
Alex Volkov
commited on
Commit
•
09cee30
1
Parent(s):
6e73d37
Added Helvetica world
Browse files- fonts/HelveticaWorld-Bold.ttf +0 -0
- utils/subs.py +2 -2
fonts/HelveticaWorld-Bold.ttf
ADDED
Binary file (470 kB). View file
|
|
utils/subs.py
CHANGED
@@ -10,8 +10,8 @@ from typing import Iterator, TextIO
|
|
10 |
def bake_subs(input_file, output_file, subs_file, fontsdir, translate_action):
|
11 |
print(f"Baking {subs_file} into video... {input_file} -> {output_file}")
|
12 |
|
13 |
-
fontfile = fontsdir / '
|
14 |
-
fontname = '
|
15 |
if translate_action:
|
16 |
fontfile = fontsdir / 'Poppins-Black.ttf'
|
17 |
fontname = 'Poppins'
|
|
|
10 |
def bake_subs(input_file, output_file, subs_file, fontsdir, translate_action):
|
11 |
print(f"Baking {subs_file} into video... {input_file} -> {output_file}")
|
12 |
|
13 |
+
fontfile = fontsdir / 'HelveticaWorld-Bold.ttf'
|
14 |
+
fontname = 'Helvetica World'
|
15 |
if translate_action:
|
16 |
fontfile = fontsdir / 'Poppins-Black.ttf'
|
17 |
fontname = 'Poppins'
|