TheKnight115 commited on
Commit
4815258
·
verified ·
1 Parent(s): f0afed0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -29,8 +29,7 @@ if option == "Image":
29
  elif option == "Video":
30
  # Dynamically load video files from 'videos/' folder
31
  video_folder = 'videos/'
32
- video_files = [f for f in os.listdir(video_folder) if f.endswith(('.mp4', '.avi'))]
33
-
34
  if video_files:
35
  video_file = st.selectbox("Select a video", video_files)
36
  if st.button("Process Video"):
 
29
  elif option == "Video":
30
  # Dynamically load video files from 'videos/' folder
31
  video_folder = 'videos/'
32
+ video_files = [f for f in os.listdir(video_folder) if f.endswith(('.mp4', '.avi','.mov'))]
 
33
  if video_files:
34
  video_file = st.selectbox("Select a video", video_files)
35
  if st.button("Process Video"):