rishabh99 commited on
Commit
03d78db
·
verified ·
1 Parent(s): 5bdc506

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 = "/home/rishabh.mondal/Brick-Kilns-project/albk_rishabh/albk_v2/YOLO_LOCALIZATION/Compliance-app/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 = "/home/rishabh.mondal/Brick-Kilns-project/albk_rishabh/albk_v2/YOLO_LOCALIZATION/Compliance-app/brick_kiln_lucknow_v1.csv"
15
  center_lat, center_lon = 26.8467, 80.9462
16
  elif location == "Delhi":
17
- file = "/home/rishabh.mondal/Brick-Kilns-project/albk_rishabh/albk_v2/YOLO_LOCALIZATION/Compliance-app/brick_kiln_delhi_v1.csv"
18
  center_lat, center_lon = 28.7041, 77.1025
19
  else: # Ahmedabad
20
- file = "/home/rishabh.mondal/Brick-Kilns-project/albk_rishabh/albk_v2/YOLO_LOCALIZATION/Compliance-app/brick_kiln_ahmedabad_v2.csv" # Replace with the actual path
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