awacke1 commited on
Commit
3bae00e
1 Parent(s): f6e4799

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -566,7 +566,7 @@ def display_videos_and_links():
566
  for video_file in video_files_sorted:
567
  with cols[col_index % 2]: # Use modulo 2 to alternate between the first and second column
568
  # Embedding video with autoplay and loop using HTML
569
- video_html = f("""<video width="100%" loop autoplay> <source src="{video_file}" type="video/mp4">Your browser does not support the video tag.</video>""")
570
  st.markdown(video_html, unsafe_allow_html=True)
571
  k = video_file.split('.')[0] # Assumes keyword is the file name without extension
572
  display_glossary_entity(k) # Assuming this is defined elsewhere
 
566
  for video_file in video_files_sorted:
567
  with cols[col_index % 2]: # Use modulo 2 to alternate between the first and second column
568
  # Embedding video with autoplay and loop using HTML
569
+ video_html = ("""<video width="100%" loop autoplay> <source src="{video_file}" type="video/mp4">Your browser does not support the video tag.</video>""")
570
  st.markdown(video_html, unsafe_allow_html=True)
571
  k = video_file.split('.')[0] # Assumes keyword is the file name without extension
572
  display_glossary_entity(k) # Assuming this is defined elsewhere