Medvira commited on
Commit
5f252ac
·
verified ·
1 Parent(s): 10ecd89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def process_video(video_path):
14
  fps = int(cap.get(cv2.CAP_PROP_FPS))
15
 
16
  # Create a video writer to save the output
17
- output_path = "output.mp4"
18
  fourcc = cv2.VideoWriter_fourcc(*"mp4v")
19
  out = cv2.VideoWriter(output_path, fourcc, fps, (width, height))
20
 
 
14
  fps = int(cap.get(cv2.CAP_PROP_FPS))
15
 
16
  # Create a video writer to save the output
17
+ output_path = os.path.join(os.getcwd(),"output.mp4")
18
  fourcc = cv2.VideoWriter_fourcc(*"mp4v")
19
  out = cv2.VideoWriter(output_path, fourcc, fps, (width, height))
20