Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
bc59653
1
Parent(s):
2950567
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def test(input_json):
|
|
112 |
matrix_transport = inputs['input']["transportMatrix"]
|
113 |
landuses = inputs['input']["landuse_areas"]
|
114 |
|
115 |
-
|
116 |
if df_lu_filtered is None or df_lu_filtered.empty:
|
117 |
landuses = inputs['input']["landuse_areas"]
|
118 |
df_landuses = pd.DataFrame(landuses).T
|
@@ -120,10 +120,10 @@ def test(input_json):
|
|
120 |
else:
|
121 |
df_landuses = df_lu_filtered
|
122 |
df_landuses = df_landuses.round(0).astype(int)
|
123 |
-
"""
|
124 |
|
125 |
-
|
126 |
-
df_landuses =
|
|
|
127 |
|
128 |
attributeMapperDict_gh = inputs['input']["attributeMapperDict"]
|
129 |
landuseMapperDict_gh = inputs['input']["landuseMapperDict"]
|
|
|
112 |
matrix_transport = inputs['input']["transportMatrix"]
|
113 |
landuses = inputs['input']["landuse_areas"]
|
114 |
|
115 |
+
|
116 |
if df_lu_filtered is None or df_lu_filtered.empty:
|
117 |
landuses = inputs['input']["landuse_areas"]
|
118 |
df_landuses = pd.DataFrame(landuses).T
|
|
|
120 |
else:
|
121 |
df_landuses = df_lu_filtered
|
122 |
df_landuses = df_landuses.round(0).astype(int)
|
|
|
123 |
|
124 |
+
|
125 |
+
#df_landuses = df_lu_filtered
|
126 |
+
#df_landuses = df_landuses.round(0).astype(int)
|
127 |
|
128 |
attributeMapperDict_gh = inputs['input']["attributeMapperDict"]
|
129 |
landuseMapperDict_gh = inputs['input']["landuseMapperDict"]
|