File size: 719 Bytes
203694b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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()