Nathanotal commited on
Commit
fecaffd
·
1 Parent(s): c279d28
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -131,8 +131,11 @@ def titanic(Pclass, Sex, Age, SibSp, Parch, Fare, Embarked):
131
 
132
  featureLabels = ["Pclass", "Name", "Sex", "Age", "SibSp",
133
  "Parch", "Ticket", "Fare", "Cabin", "Embarked"]
 
 
134
  for feature in featureLabels:
135
  if feature in numericalInputs:
 
136
  if feature.lower() == 'Age'.lower():
137
  inputs.append(gr.inputs.Slider(9, 75, 1, label='Age (years)'))
138
  if feature.lower() == 'SibSp'.lower():
 
131
 
132
  featureLabels = ["Pclass", "Name", "Sex", "Age", "SibSp",
133
  "Parch", "Ticket", "Fare", "Cabin", "Embarked"]
134
+
135
+
136
  for feature in featureLabels:
137
  if feature in numericalInputs:
138
+ print(feature)
139
  if feature.lower() == 'Age'.lower():
140
  inputs.append(gr.inputs.Slider(9, 75, 1, label='Age (years)'))
141
  if feature.lower() == 'SibSp'.lower():