Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ import pandas as pd
|
|
3 |
import streamlit as st
|
4 |
|
5 |
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:")
|
|
|
3 |
import streamlit as st
|
4 |
|
5 |
df = pd.read_csv('Map-City-State-Zip-Lat-Long.txt', dtype=str, sep=';')
|
6 |
+
df = df["Latitude"] = df["Latitude"].astype(float)
|
7 |
+
df = df["Longitude"] = df["Longitude"].astype(float)
|
8 |
+
|
9 |
st.title("Input a city or zip code and we will take you there!")
|
10 |
|
11 |
city_name = st.text_input("Please search for a city:")
|