awacke1 commited on
Commit
fc2c0b2
1 Parent(s): 126fd02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1363,7 +1363,8 @@ def display_images_and_wikipedia_summaries(num_columns=4):
1363
 
1364
  def display_videos_and_links(num_columns):
1365
  #video_files = [f for f in os.listdir('.') if f.endswith('.mp4')]
1366
- video_files = [f for f in os.listdir('.') if f.endswith('.webm')]
 
1367
 
1368
  if not video_files:
1369
  st.write("No MP4 videos found in the current directory.")
 
1363
 
1364
  def display_videos_and_links(num_columns):
1365
  #video_files = [f for f in os.listdir('.') if f.endswith('.mp4')]
1366
+ #video_files = [f for f in os.listdir('.') if f.endswith('.webm')]
1367
+ video_files = [f for f in os.listdir('.') if f.endswith(('.mp4', '.webm'))]
1368
 
1369
  if not video_files:
1370
  st.write("No MP4 videos found in the current directory.")