Beasto commited on
Commit
44cfb37
·
1 Parent(s): 10f5d90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 video_file is not None:
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)