Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
import plotly.express as px
|
|
@@ -135,9 +135,9 @@ def launch_dashboard():
|
|
| 135 |
|
| 136 |
with gr.Blocks() as demo:
|
| 137 |
gr.Markdown("# 🇪🇬 Egypt Nursery Dashboard – July 2025")
|
| 138 |
-
charts = [
|
| 139 |
meal_fig, classroom_fig, emp_stack, gov_bar, reject_fig, lang_fig, music_fig, tier_fig]
|
| 140 |
-
titles = ["
|
| 141 |
"Activities Offered", "Meal Pricing", "Classroom Area", "Employee Roles", "Licensing by Governorate",
|
| 142 |
"Rejection Reasons", "Language Activities", "Music & Theater", "Compliance Tier"]
|
| 143 |
for title, fig in zip(titles, charts):
|
|
@@ -156,4 +156,4 @@ def launch_dashboard():
|
|
| 156 |
|
| 157 |
demo.launch()
|
| 158 |
|
| 159 |
-
launch_dashboard()
|
|
|
|
| 1 |
+
import os
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
import plotly.express as px
|
|
|
|
| 135 |
|
| 136 |
with gr.Blocks() as demo:
|
| 137 |
gr.Markdown("# 🇪🇬 Egypt Nursery Dashboard – July 2025")
|
| 138 |
+
charts = [counts_fig, enrollment_fig, gender_fig, ownership_fig, affiliation_fig, activity_fig,
|
| 139 |
meal_fig, classroom_fig, emp_stack, gov_bar, reject_fig, lang_fig, music_fig, tier_fig]
|
| 140 |
+
titles = ["Total Counts", "Enrollment & Licensing Overview", "Gender Distribution", "Ownership", "Affiliation",
|
| 141 |
"Activities Offered", "Meal Pricing", "Classroom Area", "Employee Roles", "Licensing by Governorate",
|
| 142 |
"Rejection Reasons", "Language Activities", "Music & Theater", "Compliance Tier"]
|
| 143 |
for title, fig in zip(titles, charts):
|
|
|
|
| 156 |
|
| 157 |
demo.launch()
|
| 158 |
|
| 159 |
+
launch_dashboard()
|