asad231 commited on
Commit
bf413bf
·
verified ·
1 Parent(s): d8dea77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def compress_video(video):
60
 
61
  # ✅ Reduce resolution to 480p
62
  frame_width = 320
63
- frame_height = 240
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():