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:“Please upload a dataset”)
profile = ProfileReport(df,title =“Profile Report”)

Thanks in advance

Rajat Pandey

Hello @rajat4493,

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