Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -77,6 +77,9 @@ else:
|
|
77 |
df_lu = df_lu.astype(str)
|
78 |
df_lu = df_lu.set_index("uuid", drop=False)
|
79 |
|
|
|
|
|
|
|
80 |
"""
|
81 |
matrices_dict = matrices.to_dict('index')
|
82 |
|
@@ -238,8 +241,8 @@ def test(input_json):
|
|
238 |
#"subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
|
239 |
#"luDomainMapper": landuseMapperDict,
|
240 |
#"attributeMapper": livabilityMapperDict,
|
241 |
-
"fetchDm": matrices
|
242 |
-
|
243 |
#"landuses":df_lu_filtered_dict,
|
244 |
#"constants": [alpha, threshold]
|
245 |
}
|
|
|
77 |
df_lu = df_lu.astype(str)
|
78 |
df_lu = df_lu.set_index("uuid", drop=False)
|
79 |
|
80 |
+
|
81 |
+
df_dm = matrices[distanceMatrixActivityNodes][0]
|
82 |
+
|
83 |
"""
|
84 |
matrices_dict = matrices.to_dict('index')
|
85 |
|
|
|
241 |
#"subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
|
242 |
#"luDomainMapper": landuseMapperDict,
|
243 |
#"attributeMapper": livabilityMapperDict,
|
244 |
+
"fetchDm": matrices,
|
245 |
+
"dm_an": df_dm
|
246 |
#"landuses":df_lu_filtered_dict,
|
247 |
#"constants": [alpha, threshold]
|
248 |
}
|