Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
5b343bd
1
Parent(s):
e1ff7af
Update app.py
Browse files
app.py
CHANGED
@@ -235,6 +235,9 @@ def test(input_json):
|
|
235 |
from imports_utils import computeAccessibility_pointOfInterest
|
236 |
from imports_utils import remap
|
237 |
from imports_utils import accessibilityToLivability
|
|
|
|
|
|
|
238 |
|
239 |
LivabilitySubdomainsWeights = landusesToSubdomains(df_dm,df_landuses_filtered,landuseMapperDict,subdomainsUnique)
|
240 |
|
@@ -260,12 +263,14 @@ def test(input_json):
|
|
260 |
LivabilitySubdomainsInputs_dictionary = LivabilitySubdomainsInputs.to_dict('index')
|
261 |
subdomainsAccessibility_dictionary = AccessibilityInputs.to_dict('index')
|
262 |
artmatrix = df_art_matrix.to_dict('index')
|
|
|
|
|
263 |
|
264 |
# Prepare the output
|
265 |
output = {
|
266 |
-
"subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
|
267 |
-
"livability_dictionary": livability_dictionary,
|
268 |
-
"subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
|
269 |
"luDomainMapper": landuseMapperDict,
|
270 |
"attributeMapper": attributeMapperDict,
|
271 |
"fetchDm": dm_dictionary,
|
|
|
235 |
from imports_utils import computeAccessibility_pointOfInterest
|
236 |
from imports_utils import remap
|
237 |
from imports_utils import accessibilityToLivability
|
238 |
+
|
239 |
+
|
240 |
+
"""
|
241 |
|
242 |
LivabilitySubdomainsWeights = landusesToSubdomains(df_dm,df_landuses_filtered,landuseMapperDict,subdomainsUnique)
|
243 |
|
|
|
263 |
LivabilitySubdomainsInputs_dictionary = LivabilitySubdomainsInputs.to_dict('index')
|
264 |
subdomainsAccessibility_dictionary = AccessibilityInputs.to_dict('index')
|
265 |
artmatrix = df_art_matrix.to_dict('index')
|
266 |
+
|
267 |
+
"""
|
268 |
|
269 |
# Prepare the output
|
270 |
output = {
|
271 |
+
#"subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
|
272 |
+
#"livability_dictionary": livability_dictionary,
|
273 |
+
#"subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
|
274 |
"luDomainMapper": landuseMapperDict,
|
275 |
"attributeMapper": attributeMapperDict,
|
276 |
"fetchDm": dm_dictionary,
|