nastasiasnk commited on
Commit
0c12c76
1 Parent(s): dc4b91d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -111,6 +111,7 @@ def test(input_json):
111
 
112
 
113
  livability = accessibilityToLivability(df_matrix,subdomainsAccessibility,attributeMapperDict)
 
114
 
115
 
116
 
@@ -118,7 +119,7 @@ def test(input_json):
118
  # Prepare the output
119
  output = {
120
  "subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
121
- "livability_dictionary": livability
122
  }
123
 
124
 
 
111
 
112
 
113
  livability = accessibilityToLivability(df_matrix,subdomainsAccessibility,attributeMapperDict)
114
+ livability_dictionary = livability.to_dict('index')
115
 
116
 
117
 
 
119
  # Prepare the output
120
  output = {
121
  "subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
122
+ "livability_dictionary": livability_dictionary
123
  }
124
 
125