Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,22 @@ import streamlit as st
|
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
-
|
| 6 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
|
| 5 |
+
st.title('Plot and track your vacations')
|
| 6 |
+
city_name = st.text_input('Please Input your Desired City:')
|
| 7 |
+
lat = st.text_input('Please Input the Latitude': )
|
| 8 |
+
long = st.text_input('Please Input the Longitude': )
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
cities_list = []
|
| 12 |
+
lat_list = []
|
| 13 |
+
long_list = []
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
places = pd.DataFrame({'City:' cities_list, 'Latitude:' lat_list, 'Longitude:' long_list)})
|
| 17 |
+
|
| 18 |
+
st.map(places)
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
|
| 23 |
|