awacke1 commited on
Commit
917d273
Β·
verified Β·
1 Parent(s): aae8dc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,10 +1,9 @@
1
  import streamlit as st
2
 
3
- #@st.cache(suppress_st_warning=True,allow_output_mutation=True, ttl=86400) # 86400 seconds = 1 day
4
  #@st.cache_data(ttl=86400) # 86400 seconds = 1 day
5
  #@st.cache(suppress_st_warning=True, ttl=86400)
6
-
7
- @st.cache_data(experimental_allow_widgets=True) # πŸ‘ˆ Set the parameter
8
  def cache_user_data():
9
  return {'email': '', 'phone': '', 'password': ''}
10
 
 
1
  import streamlit as st
2
 
3
+ @st.cache(suppress_st_warning=True,allow_output_mutation=True, ttl=86400) # 86400 seconds = 1 day
4
  #@st.cache_data(ttl=86400) # 86400 seconds = 1 day
5
  #@st.cache(suppress_st_warning=True, ttl=86400)
6
+ #@st.cache_data(experimental_allow_widgets=True) # πŸ‘ˆ Set the parameter
 
7
  def cache_user_data():
8
  return {'email': '', 'phone': '', 'password': ''}
9