HowTo hide animations while loading a web page in Streamlit
I’m working on a web app in Streamlit and I am looking hide animations while loading a web page .
st.set_page_config(page_title=“Page Title”, layout=“wide”, page_icon=“395.ico”)
st.markdown(“”"
.reportview-container {
margin-top: -2em;
}
#MainMenu {visibility: hidden;}
.stDeployButton {display:none;}
footer {visibility: hidden;}
#stDecoration {display:none;}
“”", unsafe_allow_html=True)
enter image description here
New contributor
poomwork is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.