Spaces:
Running
Running
Update app.py
Browse files
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.
|
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 = (
|