ADD: new dataset cells for endpoint
All checks were successful
Build docker container / Build image (push) Successful in 6m24s
All checks were successful
Build docker container / Build image (push) Successful in 6m24s
This commit is contained in:
@@ -269,6 +269,12 @@ def recommend_gruas():
|
|||||||
"statistics": result.get('statistics', []),
|
"statistics": result.get('statistics', []),
|
||||||
"coverage": result.get('coverage', {})
|
"coverage": result.get('coverage', {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
include_cell_data = request.args.get("include_cell_data", "false").lower() == "true"
|
||||||
|
|
||||||
|
if include_cell_data:
|
||||||
|
response['prediction_data'] = df.to_dict('records')
|
||||||
|
|
||||||
return jsonify(response)
|
return jsonify(response)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user