Spaces:
Sleeping
Sleeping
Update app.py
#3
by
peter2520
- opened
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
|