Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import streamlit as st
|
|
| 8 |
# Open the video file
|
| 9 |
f = st.file_uploader("Choose a Video")
|
| 10 |
|
| 11 |
-
if
|
| 12 |
# Read the video file from the file-like object
|
| 13 |
|
| 14 |
tfile = tempfile.NamedTemporaryFile(delete=False)
|
|
|
|
| 8 |
# Open the video file
|
| 9 |
f = st.file_uploader("Choose a Video")
|
| 10 |
|
| 11 |
+
if f is not None:
|
| 12 |
# Read the video file from the file-like object
|
| 13 |
|
| 14 |
tfile = tempfile.NamedTemporaryFile(delete=False)
|