Update app.py
Browse files
app.py
CHANGED
@@ -4,20 +4,20 @@ import plotly.express as px
|
|
4 |
import plotly.graph_objs as go
|
5 |
|
6 |
# Load the CSV file
|
7 |
-
# file = "
|
8 |
|
9 |
# Dropdown to select the location
|
10 |
location = st.selectbox("Select Location", ["Lucknow", "Delhi", "Ahmedabad"])
|
11 |
|
12 |
# Determine the file path based on selection
|
13 |
if location == "Lucknow":
|
14 |
-
file = "
|
15 |
center_lat, center_lon = 26.8467, 80.9462
|
16 |
elif location == "Delhi":
|
17 |
-
file = "
|
18 |
center_lat, center_lon = 28.7041, 77.1025
|
19 |
else: # Ahmedabad
|
20 |
-
file = "
|
21 |
center_lat, center_lon = 23.0225, 72.5714
|
22 |
|
23 |
|
|
|
4 |
import plotly.graph_objs as go
|
5 |
|
6 |
# Load the CSV file
|
7 |
+
# file = "brick_kiln_lucknow_v1.csv" # Replace with the correct path to your CSV file
|
8 |
|
9 |
# Dropdown to select the location
|
10 |
location = st.selectbox("Select Location", ["Lucknow", "Delhi", "Ahmedabad"])
|
11 |
|
12 |
# Determine the file path based on selection
|
13 |
if location == "Lucknow":
|
14 |
+
file = "brick_kiln_lucknow_v1.csv"
|
15 |
center_lat, center_lon = 26.8467, 80.9462
|
16 |
elif location == "Delhi":
|
17 |
+
file = "brick_kiln_delhi_v1.csv"
|
18 |
center_lat, center_lon = 28.7041, 77.1025
|
19 |
else: # Ahmedabad
|
20 |
+
file = "brick_kiln_ahmedabad_v2.csv" # Replace with the actual path
|
21 |
center_lat, center_lon = 23.0225, 72.5714
|
22 |
|
23 |
|