File size: 582 Bytes
d16bc1c
 
 
 
 
 
 
 
 
 
 
 
 
 
ff4f8e9
d16bc1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 streamlit_option_menu import option_menu


def homepage():
    st.title("Home")   
    # st.header("Home Page")
    st.subheader("Welcome to the Home Page")

def dashboard():
    # st.title("Dashboard")
    # st.header("Dashboard")

    with st.sidebar:
        selected = option_menu("Menu", ["Home", "Dashboard","Chat","Logout"], icons=['house', 'activity'], menu_icon="cast", default_index=0, key="dash")
    if selected == "Home":
        homepage()
        
    elif selected == "Dashboard":
        dashboard()