ybendou commited on
Commit
eae3c1f
·
1 Parent(s): 01ec6c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -219,7 +219,7 @@ loc_button.js_on_event("button_click", CustomJS(code="""
219
 
220
  });
221
  """))
222
- current_localisation = streamlit_bokeh_events(
223
  loc_button,
224
  events="GET_LOCATION",
225
  key="get_location",
@@ -227,7 +227,7 @@ current_localisation = streamlit_bokeh_events(
227
  override_height=75,
228
  debounce_time=0)
229
 
230
- m = init_map(current_localisation=current_localisation)
231
 
232
  # Selection of requests
233
  options = [
 
219
 
220
  });
221
  """))
222
+ current_location = streamlit_bokeh_events(
223
  loc_button,
224
  events="GET_LOCATION",
225
  key="get_location",
 
227
  override_height=75,
228
  debounce_time=0)
229
 
230
+ m = init_map(current_location=current_location)
231
 
232
  # Selection of requests
233
  options = [