Automatic push from FunctionsAPI
This commit is contained in:
parent
bf8b3ddab8
commit
b1a2fabe5a
3
main.py
Normal file
3
main.py
Normal file
@ -0,0 +1,3 @@
|
||||
def predict_performance(employee_data):
|
||||
score = 0.4 * employee_data['kpi'] + 0.6 * employee_data['manager_rating']
|
||||
return {"performance_score": round(score, 2)}
|
||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
functions-framework==1.4.3
|
||||
markupsafe==2.0.1
|
||||
Loading…
Reference in New Issue
Block a user