dilithjay commited on
Commit
f16b7aa
·
1 Parent(s): 59f8e2c

Add Rupaha to the list of locations

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -109,6 +109,8 @@ def gr_generate_map(
109
  center = (7.665643, 80.9529867)
110
  elif region == "Seruwila":
111
  center = (8.335057, 81.320460)
 
 
112
  modebar_icons = [
113
  "lasso",
114
  "select",
@@ -181,6 +183,7 @@ with gr.Blocks() as demo:
181
  "Ginigalpelessa",
182
  "Yudhaganawa",
183
  "Seruwila",
 
184
  ],
185
  )
186
  grid_shapefile = gr.File(label="Grid Shapefile")
 
109
  center = (7.665643, 80.9529867)
110
  elif region == "Seruwila":
111
  center = (8.335057, 81.320460)
112
+ elif region == "Rupaha":
113
+ center = (7.0401336625287, 80.89709495963253)
114
  modebar_icons = [
115
  "lasso",
116
  "select",
 
183
  "Ginigalpelessa",
184
  "Yudhaganawa",
185
  "Seruwila",
186
+ "Rupaha",
187
  ],
188
  )
189
  grid_shapefile = gr.File(label="Grid Shapefile")