williambr commited on
Commit
d50fc32
1 Parent(s): 0f278fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[0]
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[]
10
 
11
  st.write(lat)
12