Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,19 +37,19 @@ add_bg_from_url()
|
|
| 37 |
city_name = st.text_input('Please Input your Desired City:')
|
| 38 |
|
| 39 |
|
| 40 |
-
lat = st.text_input('Please Input the Latitude:' )
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
-
long = st.text_input('Please Input the Longitude:' )
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
places_seen = pd.DataFrame({
|
| 49 |
'cities' : ["Boston", city_name],
|
| 50 |
|
| 51 |
-
'lat' : [42.361145,
|
| 52 |
|
| 53 |
-
,'lon' : [-71.057083,
|
| 54 |
|
| 55 |
st.map(places_seen)
|
|
|
|
| 37 |
city_name = st.text_input('Please Input your Desired City:')
|
| 38 |
|
| 39 |
|
| 40 |
+
int(lat) = st.text_input('Please Input the Latitude:' )
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
+
int (long) = st.text_input('Please Input the Longitude:' )
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
places_seen = pd.DataFrame({
|
| 49 |
'cities' : ["Boston", city_name],
|
| 50 |
|
| 51 |
+
'lat' : [42.361145, lat]
|
| 52 |
|
| 53 |
+
,'lon' : [-71.057083, long]})
|
| 54 |
|
| 55 |
st.map(places_seen)
|