Spaces:
Sleeping
Sleeping
import streamlit as st | |
def background(): | |
st.markdown(f""" | |
<style> | |
/* Set the background image for the entire app */ | |
.stApp {{ | |
background-color:rgba(96, 155, 124, 0.5); | |
background-size: 1300px; | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center; | |
}} | |
</style> | |
""", 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() | |