Automatic push from FunctionsAPI
This commit is contained in:
parent
719e5d5647
commit
e24ab8226d
5
main.py
Normal file
5
main.py
Normal file
@ -0,0 +1,5 @@
|
||||
python
|
||||
CopyEdit
|
||||
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