awacke1 commited on
Commit
8b502be
·
verified ·
1 Parent(s): 911c240

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,9 @@ import streamlit as st
2
  import base64
3
  import time
4
 
5
- @st.cache_resource
 
 
6
  def Base64CacheIt(filename):
7
  # Read the video file as bytes
8
  with open(filename, "rb") as file:
@@ -21,8 +23,6 @@ def Base64CacheIt(filename):
21
 
22
  return video_html
23
 
24
- # Set page layout to wide screen
25
- st.set_page_config(layout="wide")
26
 
27
  video_placeholder = st.empty()
28
  video_html = Base64CacheIt("Walking on Bourbon Street.mp4")
 
2
  import base64
3
  import time
4
 
5
+ # Set page layout to wide screen
6
+ st.set_page_config(layout="wide")
7
+ #@st.cache_resource
8
  def Base64CacheIt(filename):
9
  # Read the video file as bytes
10
  with open(filename, "rb") as file:
 
23
 
24
  return video_html
25
 
 
 
26
 
27
  video_placeholder = st.empty()
28
  video_html = Base64CacheIt("Walking on Bourbon Street.mp4")