Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def resize_video(input_file):
|
|
71 |
# Delete the existing file
|
72 |
os.remove('video_resized.mp4')
|
73 |
|
74 |
-
output_video = cv2.VideoWriter('video_resized.mp4', fourcc,
|
75 |
|
76 |
while True:
|
77 |
# Read a frame from the input video
|
|
|
71 |
# Delete the existing file
|
72 |
os.remove('video_resized.mp4')
|
73 |
|
74 |
+
output_video = cv2.VideoWriter('video_resized.mp4', fourcc, 8.0, (512, 512))
|
75 |
|
76 |
while True:
|
77 |
# Read a frame from the input video
|