Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
|
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 |
|