kavehtaheri commited on
Commit
c7c0ce5
·
verified ·
1 Parent(s): 492843b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,9 +57,9 @@ def video_edit(srt, input_video, color, font, font_size, input_audio):
57
  """"" if not color.startswith('#') or len(color) != 7:
58
  raise ValueError("Color must be a hex code like '#RRGGBB'")
59
  ffmpeg_color = '&H' + color[1:] + '& """"
60
-
61
  # Build subtitle style string for FFmpeg
62
- subtitle_style = f"FontName={font},FontSize={font_size},PrimaryColour={&HFFFF00&}"
63
 
64
  # Construct FFmpeg command
65
  cmd = [
 
57
  """"" if not color.startswith('#') or len(color) != 7:
58
  raise ValueError("Color must be a hex code like '#RRGGBB'")
59
  ffmpeg_color = '&H' + color[1:] + '& """"
60
+ ffmpeg_color='&HFFFF00&'
61
  # Build subtitle style string for FFmpeg
62
+ subtitle_style = f"FontName={font},FontSize={font_size},PrimaryColour={ffmpeg_color}"
63
 
64
  # Construct FFmpeg command
65
  cmd = [