Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,8 @@ def test(input_json):
|
|
145 |
|
146 |
#if df_dm_transport is None:
|
147 |
matrix_transport = inputs['input']["transportMatrix"]
|
148 |
-
|
|
|
149 |
if df_lu_filtered is None or df_lu_filtered.empty:
|
150 |
landuses = inputs['input']["landuse_areas"]
|
151 |
df_landuses = pd.DataFrame(landuses).T
|
@@ -153,6 +154,10 @@ def test(input_json):
|
|
153 |
else:
|
154 |
df_landuses = df_lu_filtered
|
155 |
df_landuses = df_landuses.round(0).astype(int)
|
|
|
|
|
|
|
|
|
156 |
|
157 |
attributeMapperDict_gh = inputs['input']["attributeMapperDict"]
|
158 |
landuseMapperDict_gh = inputs['input']["landuseMapperDict"]
|
|
|
145 |
|
146 |
#if df_dm_transport is None:
|
147 |
matrix_transport = inputs['input']["transportMatrix"]
|
148 |
+
|
149 |
+
"""
|
150 |
if df_lu_filtered is None or df_lu_filtered.empty:
|
151 |
landuses = inputs['input']["landuse_areas"]
|
152 |
df_landuses = pd.DataFrame(landuses).T
|
|
|
154 |
else:
|
155 |
df_landuses = df_lu_filtered
|
156 |
df_landuses = df_landuses.round(0).astype(int)
|
157 |
+
"""
|
158 |
+
|
159 |
+
df_landuses = df_lu_filtered
|
160 |
+
df_landuses = df_landuses.round(0).astype(int)
|
161 |
|
162 |
attributeMapperDict_gh = inputs['input']["attributeMapperDict"]
|
163 |
landuseMapperDict_gh = inputs['input']["landuseMapperDict"]
|