qqwjq1981 commited on
Commit
cf52a9d
·
verified ·
1 Parent(s): a332ef9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -413,7 +413,7 @@ def create_subtitle_clip_pil(text, start_time, end_time, video_width, video_heig
413
  y += line_heights[idx] + 5
414
 
415
  img_np = np.array(img)
416
- margin = int(video_height * 0.05)
417
  img_clip = ImageClip(img_np) # Create the ImageClip first
418
  image_height = img_clip.size[1]
419
  txt_clip = (
 
413
  y += line_heights[idx] + 5
414
 
415
  img_np = np.array(img)
416
+ margin = int(video_height * 0.1)
417
  img_clip = ImageClip(img_np) # Create the ImageClip first
418
  image_height = img_clip.size[1]
419
  txt_clip = (