Spaces:
Build error
Build error
Download basic_map/app.py from Saving-Willy/saving-willy-space: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/spaces/Saving-Willy/saving-willy-space/resolve/main/basic_map/app.py
- Command line
-
hf download hf://spaces/Saving-Willy/saving-willy-space/basic_map/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Saving-Willy/saving-willy-space/resolve/main/basic_map/app.py
537 Bytes
| import pandas as pd | |
| import streamlit as st | |
| import folium | |
| from streamlit_folium import st_folium | |
| from streamlit_folium import folium_static | |
| visp_loc = 46.295833, 7.883333 | |
| #m = folium.Map(location=visp_loc, zoom_start=9) | |
| st.markdown("# :whale: :whale: Cetaceans :red[& friends] :balloon:") | |
| m = folium.Map(location=visp_loc, zoom_start=9, | |
| tiles='https://tile.opentopomap.org/{z}/{x}/{y}.png', | |
| attr='<a href="https://opentopomap.org/">Open Topo Map</a>') | |
| folium_static(m) | |