serJD commited on
Commit
c992ce0
1 Parent(s): 30c645c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ def app_function(input_json):
75
 
76
  # Prepare the output
77
  output = {
78
- "probabilities": probabilities.to_dict(orient='records'),
79
- "adjustment_factors": adjustment_factors.to_dict(orient='records')
80
  }
81
 
82
  return json.dumps(output)
 
75
 
76
  # Prepare the output
77
  output = {
78
+ "probabilities": probabilities.to_dict(orient='split'),
79
+ "adjustment_factors": adjustment_factors.to_dict(orient='split')
80
  }
81
 
82
  return json.dumps(output)