-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.py
30 lines (19 loc) · 955 Bytes
/
home.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import streamlit as st
import pandas as pd
import numpy as np
st.title("Welcome to SafeNav! 🚀")
st.divider()
st.header("🛡️Waze's Safety Upgrade🛡️")
st.write("Do you often feel unsafe when going home? Want to know the most optimal safe route to get there?.")
st.write("Then, SafeNav is the answer for you! Just easily type or speak your desired initial point and final destination point, and we will provide you with the safest route to get there.")
st.subheader(":blue[It is this easy to view your route on an interactive map with understandable instructions.]")
mexico_city_coords = [19.4326, -99.1332]
df = pd.DataFrame(
np.random.randn(1000, 2) / [50, 50] + mexico_city_coords,
columns=['lat', 'lon'])
container = st.container(border=True)
container.map(df)
st.divider()
st.page_link("pages/get_started.py", label="Click this button to Get Started", icon="🚀")
st.divider()
st.write("Thank you for choosing SafeNav!")