SPACERUNNER99 commited on
Commit
d4aa5ee
·
verified ·
1 Parent(s): 0044970

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -355,7 +355,7 @@ def create_subtitle_clips(subtitles, videosize, fontsize, font, color, debug):
355
  subtitle_clips = []
356
  for subtitle in subtitles:
357
  start_time = time_to_seconds(subtitle.start) + 1 # Add 2 seconds offset
358
- end_time = time_to_seconds(subtitle.end)+1
359
  duration = end_time - start_time
360
  video_width, video_height = videosize
361
  max_width = video_width * 0.8
 
355
  subtitle_clips = []
356
  for subtitle in subtitles:
357
  start_time = time_to_seconds(subtitle.start) + 1 # Add 2 seconds offset
358
+ end_time = time_to_seconds(subtitle.end)+1.2
359
  duration = end_time - start_time
360
  video_width, video_height = videosize
361
  max_width = video_width * 0.8