Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,10 +12,14 @@ import pandas as pd
|
|
| 12 |
import panel as pn
|
| 13 |
from folium.plugins import MarkerCluster, MiniMap
|
| 14 |
from branca.element import Template, MacroElement
|
|
|
|
|
|
|
| 15 |
|
| 16 |
pn.extension(design="bootstrap", sizing_mode="stretch_width")
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
ICON_URLS = {
|
|
|
|
| 12 |
import panel as pn
|
| 13 |
from folium.plugins import MarkerCluster, MiniMap
|
| 14 |
from branca.element import Template, MacroElement
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
|
| 17 |
|
| 18 |
pn.extension(design="bootstrap", sizing_mode="stretch_width")
|
| 19 |
|
| 20 |
+
www_dir = Path(__file__).parent.resolve() / "www"
|
| 21 |
+
|
| 22 |
+
df = pd.read_parquet(Path(__file__).parent / "All_hh.parquet")
|
| 23 |
|
| 24 |
|
| 25 |
ICON_URLS = {
|