File size: 553 Bytes
6dfeecc 15953d3 6dfeecc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import streamlit as st
import requests
from streamlit_lottie import st_lottie
import pandas as pd
st.title('"GPS"')
city_name = st.text_input('Please type the name of your city')
lat = st.number_input('Please type your latitude:')
long = st.number_input('Please type your longitude')
city_list = []
lat_list = []
long_list = []
if city_name != "" and lat != "" and long != "":
city_list.append(city_name)
lat_list.append(lat)
long_list.append(long)
st.map(pd.DataFrame({'cities' : city_list, 'lat' : lat_list, 'lon' : long_list}))
|