Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,11 +8,11 @@ df["Longitude"] = df["Longitude"].astype(float)
|
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
-
st.title("Input a city and I'll take you there!")
|
| 12 |
|
| 13 |
city = st.text_input("Please search for a city:")
|
| 14 |
|
| 15 |
-
if
|
| 16 |
|
| 17 |
split_city_state = city.split(", ")
|
| 18 |
state_name = split_city_state[1]
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
+
st.title("Input a city and state I'll take you there! - Ex. Mound, MN")
|
| 12 |
|
| 13 |
city = st.text_input("Please search for a city:")
|
| 14 |
|
| 15 |
+
if city != "":
|
| 16 |
|
| 17 |
split_city_state = city.split(", ")
|
| 18 |
state_name = split_city_state[1]
|