Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def humands(Sex,Age,Married,Monthlyincome,TotalWorkingYears,DistanceFromHome,Ove
|
|
7 |
model = load('modelo_entrenado.pkl')
|
8 |
df = pd.DataFrame.from_dict(
|
9 |
{
|
10 |
-
"
|
11 |
"Age" : [Age],
|
12 |
"TotalWorkingYears" : [TotalWorkingYears],
|
13 |
"DailyRate" : [Monthlyincome*2/30],
|
@@ -94,7 +94,7 @@ iface = gr.Interface(
|
|
94 |
examples=[
|
95 |
["Mujer",25,"Soltero",1500,20,2,True,2,2],
|
96 |
["Hombre",25,"Casado",1500,20,2,False,2,2],
|
97 |
-
["Hombre",25,"
|
98 |
],
|
99 |
interpretation="default",
|
100 |
title = 'Student Experience: cómo mejorar la experiencia de aprendizaje en la universidad',
|
|
|
7 |
model = load('modelo_entrenado.pkl')
|
8 |
df = pd.DataFrame.from_dict(
|
9 |
{
|
10 |
+
"MonthlyIncome" : [Monthlyincome],
|
11 |
"Age" : [Age],
|
12 |
"TotalWorkingYears" : [TotalWorkingYears],
|
13 |
"DailyRate" : [Monthlyincome*2/30],
|
|
|
94 |
examples=[
|
95 |
["Mujer",25,"Soltero",1500,20,2,True,2,2],
|
96 |
["Hombre",25,"Casado",1500,20,2,False,2,2],
|
97 |
+
["Hombre",25,"Divorciado",1500,20,2,True,2,2],
|
98 |
],
|
99 |
interpretation="default",
|
100 |
title = 'Student Experience: cómo mejorar la experiencia de aprendizaje en la universidad',
|