awacke1 commited on
Commit
c1df40e
·
verified ·
1 Parent(s): f6928e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
3
  # Function to cache user data
4
  #@st.cache(suppress_st_warning=True,allow_output_mutation=True, ttl=86400) # 86400 seconds = 1 day
5
  #@st.cache_data(ttl=86400) # 86400 seconds = 1 day
6
- @st.cache(ttl=86400)
7
  def cache_user_data():
8
  return {'email': '', 'phone': '', 'password': ''}
9
 
 
3
  # Function to cache user data
4
  #@st.cache(suppress_st_warning=True,allow_output_mutation=True, ttl=86400) # 86400 seconds = 1 day
5
  #@st.cache_data(ttl=86400) # 86400 seconds = 1 day
6
+ @st.cache(suppress_st_warning=True, ttl=86400)
7
  def cache_user_data():
8
  return {'email': '', 'phone': '', 'password': ''}
9