bvarshini23 commited on
Commit
1af6c51
·
verified ·
1 Parent(s): ef8d9e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -30,8 +30,8 @@ REDDIT_CONFIG = {
30
 
31
  # Word-by-Word Subtitle Settings
32
  SUBTITLE_CONFIG = {
33
- 'font_file': 'GasoekOne-Regular.ttf', # Font file for subtitles (TTF or OTF)
34
- 'font_name': 'Gasoek One', # Font name as it appears in system
35
  'font_size_default': 12, # Default subtitle font size
36
  'position_alignment': 5, # 5 = center (1-9 numpad layout)
37
  'margin_left': 50,
@@ -379,7 +379,7 @@ def create_word_by_word_highlight_ass(srt_path, output_dir, highlight_color='yel
379
  font_size = config['font_size_default']
380
 
381
  color_map = {
382
- 'yellow': ('&H0000FFFF', '&H00000000'),
383
  'orange': ('&H0000A5FF', '&H00000000'),
384
  'green': ('&H0000FF00', '&H00000000'),
385
  'cyan': ('&H00FFFF00', '&H00000000'),
 
30
 
31
  # Word-by-Word Subtitle Settings
32
  SUBTITLE_CONFIG = {
33
+ 'font_file': 'TitanOne-Regular.ttf', # Font file for subtitles (TTF or OTF)
34
+ 'font_name': 'Titan One', # Font name as it appears in system
35
  'font_size_default': 12, # Default subtitle font size
36
  'position_alignment': 5, # 5 = center (1-9 numpad layout)
37
  'margin_left': 50,
 
379
  font_size = config['font_size_default']
380
 
381
  color_map = {
382
+ 'yellow': ('&H00000000', '&H0000FFFF'),
383
  'orange': ('&H0000A5FF', '&H00000000'),
384
  'green': ('&H0000FF00', '&H00000000'),
385
  'cyan': ('&H00FFFF00', '&H00000000'),