Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,8 +16,7 @@ class ZipCodeEntry(NamedTuple):
|
|
| 16 |
|
| 17 |
|
| 18 |
def _load_zip_codes() -> Dict[str, ZipCodeEntry]:
|
| 19 |
-
df = pdb.read_csv(
|
| 20 |
-
sep=';')
|
| 21 |
zip_code_list = {}
|
| 22 |
# Zip;City;State;Latitude;Longitude;Timezone;Daylight savings time flag;geopoint
|
| 23 |
for _, row in df.iterrows():
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
def _load_zip_codes() -> Dict[str, ZipCodeEntry]:
|
| 19 |
+
df = pdb.read_csv('us-zip-code-latitude-and-longitude.txt', dtype=str, sep=';')
|
|
|
|
| 20 |
zip_code_list = {}
|
| 21 |
# Zip;City;State;Latitude;Longitude;Timezone;Daylight savings time flag;geopoint
|
| 22 |
for _, row in df.iterrows():
|