Favicon and custom title issue with Streamlit

Hello all,

I am trying to find a solution for issue with setting the favicon and custom title for the Streamlit app. I am using streamlit==1.43.0

Below is how I set the values for these in my code but it doesn’t stick.

st.set_page_config(page_title="D-Time",page_icon="assets/D.png",layout="wide",initial_sidebar_state="collapsed")

Below is what I see when the page loads or when the refresh is clicked. The custom title and favicon show for a brif second and then resets to the default Streamlit icon.
ezgif-6d3b5ffb534b13

Any pointers on how can I solve this issue?

Thanks.

UPDATE: Same issue with Streamlit 1.45 as well.