awacke1 commited on
Commit
5a7dd9a
·
verified ·
1 Parent(s): dfd74ec

Update app.py

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