Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ def humands(Monthlyincome,Age,TotalWorkingYears,DailyRate,HourlyRare,DistanceFro
|
|
12 |
"TotalWorkingYears" : [TotalWorkingYears],
|
13 |
"HourlyRare" : [HourlyRare],
|
14 |
"DistanceFromHome" : [DistanceFromHome],
|
15 |
-
"OverTime_Yes" : [Overtime],
|
16 |
-
"OverTime_No" : [
|
17 |
"YearsAtCompany" : [YearsAtCompany],
|
18 |
"MonthlyRate" : [MonthlyRate],
|
19 |
"NumCompaniesWorked" : [NumCompaniesWorked],
|
|
|
12 |
"TotalWorkingYears" : [TotalWorkingYears],
|
13 |
"HourlyRare" : [HourlyRare],
|
14 |
"DistanceFromHome" : [DistanceFromHome],
|
15 |
+
"OverTime_Yes" : [0 if Overtime else 1],
|
16 |
+
"OverTime_No" : [0 if not Overtime else 1],
|
17 |
"YearsAtCompany" : [YearsAtCompany],
|
18 |
"MonthlyRate" : [MonthlyRate],
|
19 |
"NumCompaniesWorked" : [NumCompaniesWorked],
|