Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def compress_video(video):
|
|
60 |
|
61 |
# ✅ Reduce resolution to 480p
|
62 |
frame_width = 320
|
63 |
-
frame_height =
|
64 |
out = cv2.VideoWriter(temp_file.name, fourcc, 20.0, (frame_width, frame_height))
|
65 |
|
66 |
while cap.isOpened():
|
|
|
60 |
|
61 |
# ✅ Reduce resolution to 480p
|
62 |
frame_width = 320
|
63 |
+
frame_height = 140
|
64 |
out = cv2.VideoWriter(temp_file.name, fourcc, 20.0, (frame_width, frame_height))
|
65 |
|
66 |
while cap.isOpened():
|