robocan commited on
Commit
03ec0c3
1 Parent(s): 2a362dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def create_map_figure(predictions, cell_ids):
87
  colors = ['rgba(0, 255, 0, 0.2)'] * 3 + ['rgba(255, 255, 0, 0.2)'] * 7
88
 
89
  for rank, cell_id in enumerate(cell_ids):
90
- cell_id = int(cell_id)
91
  polygon = get_s2_cell_polygon(cell_id)
92
  lats, lons = zip(*polygon)
93
  color = colors[rank]
 
87
  colors = ['rgba(0, 255, 0, 0.2)'] * 3 + ['rgba(255, 255, 0, 0.2)'] * 7
88
 
89
  for rank, cell_id in enumerate(cell_ids):
90
+ cell_id = int(float(cell_id))
91
  polygon = get_s2_cell_polygon(cell_id)
92
  lats, lons = zip(*polygon)
93
  color = colors[rank]