streamlit.cache is deprecated
Opened this issue · 0 comments
h4c5 commented
Problem
- st.cache was deprecated in version 1.18.0
- There is warnings messages
st.cache is deprecated. Please use one of Streamlit's new caching commands, st.cache_data or st.cache_resource.
in the streamlit app.
Solution
- Use the new streamlit
@cache_data
decorator - Update requirements to
streamlit>=1.18