serJD commited on
Commit
30c645c
·
verified ·
1 Parent(s): cadc8d8

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,
79
- "adjustment_factors": adjustment_factors
80
  }
81
 
82
  return json.dumps(output)
 
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)