SPACERUNNER99 commited on
Commit
b440511
·
verified ·
1 Parent(s): 9ba636f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -357,7 +357,7 @@ def create_subtitle_clips(subtitles, videosize, fontsize, font, color, debug):
357
  subtitle_y_position = video_height * 0.74
358
  text_position = (subtitle_x_position, subtitle_y_position)
359
  clip_to_overlay = CompositeVideoClip([color_clip.with_position(text_position), text_clip.with_position(text_position)])
360
- clip_to_overlay = clip_to_overlay.set_position('center')
361
  subtitle_clips.append(clip_to_overlay)
362
 
363
  return subtitle_clips
 
357
  subtitle_y_position = video_height * 0.74
358
  text_position = (subtitle_x_position, subtitle_y_position)
359
  clip_to_overlay = CompositeVideoClip([color_clip.with_position(text_position), text_clip.with_position(text_position)])
360
+ clip_to_overlay = clip_to_overlay.with_position('center')
361
  subtitle_clips.append(clip_to_overlay)
362
 
363
  return subtitle_clips