KikoDM commited on
Commit
4bfee9c
1 Parent(s): 2ff9125

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- "Monthlyincome" : [Monthlyincome],
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,"Divordiado",1500,20,2,True,2,2],
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',