Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,13 +14,13 @@ st.set_page_config(
|
|
| 14 |
# Sidebar navigation
|
| 15 |
st.sidebar.title("Navigation")
|
| 16 |
page = st.sidebar.radio("Go to", [
|
| 17 |
-
"
|
|
|
|
| 18 |
"Platform Usage Patterns",
|
| 19 |
"Video Consumption Insights",
|
| 20 |
"Socioeconomic Analysis",
|
| 21 |
"Addiction Level Distribution",
|
| 22 |
"Activity and Connection Type",
|
| 23 |
-
"User Distribution Country Wise",
|
| 24 |
"Chatbot"
|
| 25 |
])
|
| 26 |
st.markdown(
|
|
@@ -38,13 +38,13 @@ st.markdown(
|
|
| 38 |
# Dynamically load pages
|
| 39 |
pages_dir = Path("pages")
|
| 40 |
page_files = {
|
| 41 |
-
"
|
|
|
|
| 42 |
"Platform Usage Patterns": "platform_usage.py",
|
| 43 |
"Video Consumption Insights": "video_insights.py",
|
| 44 |
"Socioeconomic Analysis": "socioeconomic.py",
|
| 45 |
"Addiction Level Distribution": "addiction.py",
|
| 46 |
"Activity and Connection Type": "activity.py",
|
| 47 |
-
"User Distribution Country Wise": "User_Distribution_by_country.py",
|
| 48 |
"Chatbot": "chatbot.py"
|
| 49 |
|
| 50 |
}
|
|
|
|
| 14 |
# Sidebar navigation
|
| 15 |
st.sidebar.title("Navigation")
|
| 16 |
page = st.sidebar.radio("Go to", [
|
| 17 |
+
"Homepage"
|
| 18 |
+
"User Demographics",
|
| 19 |
"Platform Usage Patterns",
|
| 20 |
"Video Consumption Insights",
|
| 21 |
"Socioeconomic Analysis",
|
| 22 |
"Addiction Level Distribution",
|
| 23 |
"Activity and Connection Type",
|
|
|
|
| 24 |
"Chatbot"
|
| 25 |
])
|
| 26 |
st.markdown(
|
|
|
|
| 38 |
# Dynamically load pages
|
| 39 |
pages_dir = Path("pages")
|
| 40 |
page_files = {
|
| 41 |
+
"HomePage": "homepage.py"
|
| 42 |
+
"User Demographics": "overview.py",
|
| 43 |
"Platform Usage Patterns": "platform_usage.py",
|
| 44 |
"Video Consumption Insights": "video_insights.py",
|
| 45 |
"Socioeconomic Analysis": "socioeconomic.py",
|
| 46 |
"Addiction Level Distribution": "addiction.py",
|
| 47 |
"Activity and Connection Type": "activity.py",
|
|
|
|
| 48 |
"Chatbot": "chatbot.py"
|
| 49 |
|
| 50 |
}
|