import streamlit as st def background(): st.markdown(f""" """, unsafe_allow_html=True) def page1(): background() st.title("Welcome to Machine learning Life cycle") st.image("ml.png", use_column_width=False) st.markdown("### Data Collection") if st.button("Data Collection"): st.session_state.page = 'Page2' st.experimental_rerun()