Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
9aad408
1
Parent(s):
9f82cae
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def test(input_json):
|
|
128 |
|
129 |
useGrasshopperData = inputs['input']["useGrasshopper"] # fetch grasshoper data or not
|
130 |
|
131 |
-
if useGrasshopperData == True: # grasshopper input
|
132 |
matrix = inputs['input']["matrix"]
|
133 |
landuses = inputs['input']["landuse_areas"] # fetch grasshoper data or not
|
134 |
|
|
|
128 |
|
129 |
useGrasshopperData = inputs['input']["useGrasshopper"] # fetch grasshoper data or not
|
130 |
|
131 |
+
if useGrasshopperData == "True": # grasshopper input
|
132 |
matrix = inputs['input']["matrix"]
|
133 |
landuses = inputs['input']["landuse_areas"] # fetch grasshoper data or not
|
134 |
|