TIMBOVILL commited on
Commit
fe02130
·
verified ·
1 Parent(s): df51e79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -41,7 +41,6 @@ def process_video(text):
41
 
42
  new_size = (1080, int(video.h * (1080 / video.w)))
43
  video = video.fl_image(lambda image: resize_image(image, new_size))
44
- video = video.crop(x1=video.w // 2 - 540, x2=video.w // 2 + 540)
45
 
46
  text_lines = text.split()
47
  text = "\n".join([" ".join(text_lines[i:i+8]) for i in range(0, len(text_lines), 8)])
 
41
 
42
  new_size = (1080, int(video.h * (1080 / video.w)))
43
  video = video.fl_image(lambda image: resize_image(image, new_size))
 
44
 
45
  text_lines = text.split()
46
  text = "\n".join([" ".join(text_lines[i:i+8]) for i in range(0, len(text_lines), 8)])