Spaces:
Running
Running
Update app.py
Browse files
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.
|
39 |
|
40 |
with open(video_path, "wb") as f:
|
41 |
-
f.write(video_file.
|
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)
|