Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
4a45134
1
Parent(s):
cd861c5
Update app.py
Browse files
app.py
CHANGED
@@ -289,6 +289,8 @@ def test(input_json):
|
|
289 |
livability_dictionary = livability.to_dict('index')
|
290 |
LivabilitySubdomainsInputs_dictionary = LivabilitySubdomainsInputs.to_dict('index')
|
291 |
subdomainsAccessibility_dictionary = AccessibilityInputs.to_dict('index')
|
|
|
|
|
292 |
|
293 |
# Prepare the output
|
294 |
output = {
|
@@ -296,7 +298,8 @@ def test(input_json):
|
|
296 |
"livability_dictionary": livability_dictionary,
|
297 |
"subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
|
298 |
"luDomainMapper": landuseMapperDict,
|
299 |
-
"attributeMapper": attributeMapperDict
|
|
|
300 |
}
|
301 |
|
302 |
|
|
|
289 |
livability_dictionary = livability.to_dict('index')
|
290 |
LivabilitySubdomainsInputs_dictionary = LivabilitySubdomainsInputs.to_dict('index')
|
291 |
subdomainsAccessibility_dictionary = AccessibilityInputs.to_dict('index')
|
292 |
+
|
293 |
+
df_art_matrix_dict = df_art_matrix.to_dict('index')
|
294 |
|
295 |
# Prepare the output
|
296 |
output = {
|
|
|
298 |
"livability_dictionary": livability_dictionary,
|
299 |
"subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
|
300 |
"luDomainMapper": landuseMapperDict,
|
301 |
+
"attributeMapper": attributeMapperDict,
|
302 |
+
"artMatrix":df_art_matrix_dict
|
303 |
}
|
304 |
|
305 |
|