ADD: new dataset cells for endpoint
All checks were successful
Build docker container / Build image (push) Successful in 6m24s

This commit is contained in:
2025-12-22 09:46:30 +01:00
parent 541f08cebd
commit 5bc25568e7

View File

@@ -270,6 +270,12 @@ def recommend_gruas():
"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)
except KeyError as e: