Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,24 +15,23 @@ color_codes = {
|
|
15 |
"community_facilities": "#FFFF00", # Yellow
|
16 |
"school": "#FFFF00", # Yellow
|
17 |
"healthcare_facility": "#FFFF00", # Yellow
|
18 |
-
"green_space": "#
|
19 |
-
"utility_infrastructure": "#
|
20 |
"emergency_services": "#FF0000", # Red
|
21 |
-
"cultural_facilities": "#
|
22 |
-
"recreational_facilities": "#
|
23 |
"innovation_center": "#008000", # Green
|
24 |
"elderly_care_home": "#FFFF00", # Yellow
|
25 |
"childcare_centers": "#FFFF00", # Yellow
|
26 |
-
"places_of_worship": "#
|
27 |
-
"event_spaces": "#
|
28 |
"guest_housing": "#FFA500", # Orange
|
29 |
"pet_care_facilities": "#FFA500", # Orange
|
30 |
"public_sanitation_facilities": "#A0A0A0", # Grey
|
31 |
-
"environmental_monitoring_stations": "#
|
32 |
"disaster_preparedness_center": "#A0A0A0", # Grey
|
33 |
-
"outdoor_community_spaces": "#
|
34 |
}
|
35 |
-
|
36 |
# Function to draw the grid layout with color coding
|
37 |
def draw_grid(data):
|
38 |
# Create a figure and a grid of subplots
|
|
|
15 |
"community_facilities": "#FFFF00", # Yellow
|
16 |
"school": "#FFFF00", # Yellow
|
17 |
"healthcare_facility": "#FFFF00", # Yellow
|
18 |
+
"green_space": "#90EE90", # Light Green
|
19 |
+
"utility_infrastructure": "#90EE90", # Light Green
|
20 |
"emergency_services": "#FF0000", # Red
|
21 |
+
"cultural_facilities": "#D8BFD8", # Light Purple
|
22 |
+
"recreational_facilities": "#D8BFD8", # Light Purple
|
23 |
"innovation_center": "#008000", # Green
|
24 |
"elderly_care_home": "#FFFF00", # Yellow
|
25 |
"childcare_centers": "#FFFF00", # Yellow
|
26 |
+
"places_of_worship": "#D8BFD8", # Light Purple
|
27 |
+
"event_spaces": "#D8BFD8", # Light Purple
|
28 |
"guest_housing": "#FFA500", # Orange
|
29 |
"pet_care_facilities": "#FFA500", # Orange
|
30 |
"public_sanitation_facilities": "#A0A0A0", # Grey
|
31 |
+
"environmental_monitoring_stations": "#90EE90", # Light Green
|
32 |
"disaster_preparedness_center": "#A0A0A0", # Grey
|
33 |
+
"outdoor_community_spaces": "#90EE90" # Light Green
|
34 |
}
|
|
|
35 |
# Function to draw the grid layout with color coding
|
36 |
def draw_grid(data):
|
37 |
# Create a figure and a grid of subplots
|