Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ loc_button.js_on_event("button_click", CustomJS(code="""
|
|
219 |
|
220 |
});
|
221 |
"""))
|
222 |
-
|
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(
|
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 = [
|