Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def process_input(address, selected_option, additional_input):
|
|
33 |
# Load Zone Table of Transportation Analysis
|
34 |
df = pd.read_csv("./zone_table.csv")
|
35 |
df = df.loc[df['Development Type']==selected_option]
|
36 |
-
threshold_value = df.loc[:, f"Zone {zone}"]
|
37 |
|
38 |
if additional_input < threshold_value:
|
39 |
transport_analysis_needed = False
|
|
|
33 |
# Load Zone Table of Transportation Analysis
|
34 |
df = pd.read_csv("./zone_table.csv")
|
35 |
df = df.loc[df['Development Type']==selected_option]
|
36 |
+
threshold_value = df.loc[:, f"Zone {zone}"].values.item()
|
37 |
|
38 |
if additional_input < threshold_value:
|
39 |
transport_analysis_needed = False
|