-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
30 lines (23 loc) · 1.06 KB
/
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
from dashboard import user_engagement, user_experience, user_overview,user_satsifaction
from multiapp import MultiApp
import streamlit as st
import sys
sys.path.insert(0, './scripts')
# import your app modules here
st.set_page_config(page_title="TellCo Telecom Analytics", layout="wide")
app = MultiApp()
st.sidebar.markdown("""
# TellCo's User Analytics
### Multi-Page App
This multi-page app is using the [streamlit-multiapps](https://github.com/upraneelnihar/streamlit-multiapps) framework developed by [Praneel Nihar](https://medium.com/@u.praneel.nihar). Also check out his [Medium article](https://medium.com/@u.praneel.nihar/building-multi-page-web-app-using-streamlit-7a40d55fa5b4).
### Modifications
\t- Page Folder Based Access
\t- Presentation changed to SideBar
""")
# Add all your application here
app.add_app("User Overview Analysis", user_overview.app)
app.add_app("User Engagement Analysis", user_engagement.app)
app.add_app("User Experience Analysis", user_experience.app)
app.add_app("User Satisfaction Analysis", user_satsifaction.app)
# The main app
app.run()