Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -132,11 +132,18 @@ def test(input_json):
|
|
132 |
|
133 |
|
134 |
# Accessing input data from Grasshopper
|
|
|
135 |
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
#attributeMapperDict = inputs['input']["attributeMapperDict"]
|
141 |
#landuseMapperDict = inputs['input']["landuseMapperDict"]
|
142 |
|
|
|
132 |
|
133 |
|
134 |
# Accessing input data from Grasshopper
|
135 |
+
|
136 |
|
137 |
+
if df_dm is None:
|
138 |
+
df_dm = inputs['input']["matrix"]
|
139 |
+
|
140 |
+
if df_dm_transport is None:
|
141 |
+
df_dm_transport = inputs['input']["transportMatrix"]
|
142 |
+
|
143 |
+
"""
|
144 |
+
if df_lu_filtered is None:
|
145 |
+
landuses = inputs['input']["landuse_areas"]
|
146 |
+
"""
|
147 |
#attributeMapperDict = inputs['input']["attributeMapperDict"]
|
148 |
#landuseMapperDict = inputs['input']["landuseMapperDict"]
|
149 |
|