anurag629 commited on
Commit
492235c
1 Parent(s): a75da4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,10 +35,10 @@ def main():
35
  video_path = "./uploaded_video.mp4"
36
 
37
  with open(image_path, "wb") as f:
38
- f.write(image_file.getvalue())
39
 
40
  with open(video_path, "wb") as f:
41
- f.write(video_file.getvalue())
42
 
43
  # Run the script
44
  run_script(image_path, video_path)
 
35
  video_path = "./uploaded_video.mp4"
36
 
37
  with open(image_path, "wb") as f:
38
+ f.write(image_file.read())
39
 
40
  with open(video_path, "wb") as f:
41
+ f.write(video_file.read())
42
 
43
  # Run the script
44
  run_script(image_path, video_path)