Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def update_header(file_info):
|
|
| 14 |
|
| 15 |
def generate_map(file_path):
|
| 16 |
# Load the postcodes
|
| 17 |
-
postcode_mapping = load_data('
|
| 18 |
# Load the data (this needs to be adapted to work outside Flask)
|
| 19 |
postcodes = load_data(file_path)
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
def generate_map(file_path):
|
| 16 |
# Load the postcodes
|
| 17 |
+
postcode_mapping = load_data('data/ukpostcodes.csv')
|
| 18 |
# Load the data (this needs to be adapted to work outside Flask)
|
| 19 |
postcodes = load_data(file_path)
|
| 20 |
|