Spaces:
Sleeping
Sleeping
Lode Nachtergaele commited on
Commit ·
bcadddb
1
Parent(s): 378169c
nicer table
Browse files- app.py +5 -1
- pre-requirements.txt +1 -2
app.py
CHANGED
|
@@ -348,7 +348,11 @@ if gpx_file is not None:
|
|
| 348 |
).add_to(route_map)
|
| 349 |
route_map.add_child(folium.CircleMarker([row["lat"], row["lon"]], radius=15))
|
| 350 |
|
| 351 |
-
st.table(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 352 |
|
| 353 |
st_data = st_folium(route_map, height=450, width=850)
|
| 354 |
|
|
|
|
| 348 |
).add_to(route_map)
|
| 349 |
route_map.add_child(folium.CircleMarker([row["lat"], row["lon"]], radius=15))
|
| 350 |
|
| 351 |
+
st.table(
|
| 352 |
+
df_peaks[
|
| 353 |
+
["length", "total_ascent", "grade", "climb_score", "hill_category"]
|
| 354 |
+
].reset_index(drop=True)
|
| 355 |
+
)
|
| 356 |
|
| 357 |
st_data = st_folium(route_map, height=450, width=850)
|
| 358 |
|
pre-requirements.txt
CHANGED
|
@@ -1,2 +1 @@
|
|
| 1 |
-
pip==23.1.2
|
| 2 |
-
altair==5.0.1
|
|
|
|
| 1 |
+
pip==23.1.2
|
|
|