-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
32 lines (27 loc) · 881 Bytes
/
app.py
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
32
import streamlit as st
from PIL import Image
from streamlit_option_menu import option_menu
from pages.home import home_app
from pages.overview import overview_app
from pages.predict import prdict_app
st.set_page_config(page_title="Telcom Data Analysis")
slected = option_menu(
menu_title=None,
options=["Home", "Overview", "Predict"],
icons=["house", "globe2", "app"],
menu_icon="cast",
orientation="horizontal"
)
styles = {
"container": {"padding": "0!important", "background-color": "#fafafa"},
"icon": {"color": "orange", "font-size": "25px"},
"nav-link": {"font-size": "25px", "text-align": "left", "margin": "0px", "--hover-color": "#eee"},
"nav-link-selected": {"background-color": "green"},
}
st.title("Telecom Data Analysis")
if slected == "Home":
home_app()
elif slected == "Overview":
overview_app()
else:
prdict_app()