Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,9 @@ st.title("Input a city and state I'll take you there! - Ex. Mound, MN")
|
|
12 |
|
13 |
city_and_state_string = st.text_input("Please search for a city:")
|
14 |
|
15 |
-
|
16 |
try:
|
|
|
17 |
if city_and_state_string != "":
|
18 |
|
19 |
split_city_state = city_and_state_string.split(", ")
|
|
|
12 |
|
13 |
city_and_state_string = st.text_input("Please search for a city:")
|
14 |
|
15 |
+
|
16 |
try:
|
17 |
+
@st.cache
|
18 |
if city_and_state_string != "":
|
19 |
|
20 |
split_city_state = city_and_state_string.split(", ")
|