File size: 733 Bytes
a66704a
503a456
 
ed6802a
9772547
908e05b
 
 
 
 
 
 
 
 
 
 
 
 
 
9772547
908e05b
 
 
9772547
908e05b
 
 
 
b05d633
908e05b
 
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
27
28
29
30
31
import streamlit as st
from page1 import page1
from page2 import page2


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 main():
    if 'page' not in st.session_state:
        st.session_state.page = 'Page1'

    if st.session_state.page == 'Page1':
        page1()
    elif st.session_state.page == 'Page2':
        page2()

if __name__ == "__main__":
    main()