Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ df = pd.read_csv('Map-City-State-Zip-Lat-Long.txt', dtype=str, sep=';')
|
|
6 |
st.title("Input a city or zip code and we will take you there!")
|
7 |
|
8 |
city_name = st.text_input("Please search for a city:")
|
9 |
-
lat = df[df["City"] == city_name]["Latitude"].values
|
10 |
|
11 |
st.write(lat)
|
12 |
|
|
|
6 |
st.title("Input a city or zip code and we will take you there!")
|
7 |
|
8 |
city_name = st.text_input("Please search for a city:")
|
9 |
+
lat = df[df["City"] == city_name]["Latitude"].values[0]
|
10 |
|
11 |
st.write(lat)
|
12 |
|