konstantinG commited on
Commit
feace7b
1 Parent(s): 233fa77

Update get_profile.py

Browse files
Files changed (1) hide show
  1. get_profile.py +1 -1
get_profile.py CHANGED
@@ -2,7 +2,7 @@ from pandas_profiling import ProfileReport
2
  from streamlit_pandas_profiling import st_profile_report
3
  import streamlit as st
4
 
5
- @st.cache_resource
6
  def get_profile(data, config):
7
  profile_df = ProfileReport(data, config_file=config)
8
  return profile_df
 
2
  from streamlit_pandas_profiling import st_profile_report
3
  import streamlit as st
4
 
5
+ @st.experimental_memo
6
  def get_profile(data, config):
7
  profile_df = ProfileReport(data, config_file=config)
8
  return profile_df