Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
-
|
2 |
import pandas as pdb
|
3 |
from typing import NamedTuple, Dict
|
4 |
|
5 |
-
_ROOT_DIR = definitions.get_project_root()
|
6 |
-
|
7 |
|
8 |
class ZipCodeEntry(NamedTuple):
|
9 |
zip: str
|
@@ -36,9 +34,4 @@ def _load_zip_codes() -> Dict[str, ZipCodeEntry]:
|
|
36 |
return zip_code_list
|
37 |
|
38 |
|
39 |
-
ZIP_CODE_LIST = _load_zip_codes()
|
40 |
-
|
41 |
-
|
42 |
-
if __name__ == '__main__':
|
43 |
-
print(ZIP_CODE_LIST)
|
44 |
-
print(ZIP_CODE_LIST.get('62833'))
|
|
|
1 |
+
|
2 |
import pandas as pdb
|
3 |
from typing import NamedTuple, Dict
|
4 |
|
|
|
|
|
5 |
|
6 |
class ZipCodeEntry(NamedTuple):
|
7 |
zip: str
|
|
|
34 |
return zip_code_list
|
35 |
|
36 |
|
37 |
+
ZIP_CODE_LIST = _load_zip_codes()
|
|
|
|
|
|
|
|
|
|