Streamlit - Profiling Error

I am trying to incorporate the streamlit-pandas profile and receive the following error:

AttributeError: ā€˜Elementā€™ object has no attribute ā€˜component_instanceā€™

Python Version : 3.8.3

Code Snippet :

st.sidebar.header(ā€œData Insigts and Profilingā€)
if st.sidebar.checkbox(ā€œData Insightsā€):
if df.empty:
st.info(ā€œPlease upload a datasetā€)
else:
profile = ProfileReport(df,title =ā€œProfile Reportā€)
st_profile_report(profile)

Thanks in advance

Regards
Rajat Pandey

Hello @rajat4493,

Could you provide the full traceback of your exception? Thanks!