Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ elif option == "Video":
|
|
| 50 |
|
| 51 |
if uploaded_video is not None:
|
| 52 |
# Save the uploaded video to a temporary file
|
| 53 |
-
with open("temp_video.
|
| 54 |
f.write(uploaded_video.read())
|
| 55 |
|
| 56 |
# Display the uploaded video
|
|
|
|
| 50 |
|
| 51 |
if uploaded_video is not None:
|
| 52 |
# Save the uploaded video to a temporary file
|
| 53 |
+
with open("temp_video.mov", "wb") as f:
|
| 54 |
f.write(uploaded_video.read())
|
| 55 |
|
| 56 |
# Display the uploaded video
|