Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def predict(age, workclass, education, marital_status, occupation, relationship,
|
|
| 16 |
# prediction = model.predict(features)
|
| 17 |
# prediction = 1
|
| 18 |
# return "Income >50K" if prediction == 1 else "Income <=50K"
|
| 19 |
-
return fixed_features
|
| 20 |
|
| 21 |
def cleaning_features(data):
|
| 22 |
le = LabelEncoder()
|
|
|
|
| 16 |
# prediction = model.predict(features)
|
| 17 |
# prediction = 1
|
| 18 |
# return "Income >50K" if prediction == 1 else "Income <=50K"
|
| 19 |
+
return print(fixed_features)
|
| 20 |
|
| 21 |
def cleaning_features(data):
|
| 22 |
le = LabelEncoder()
|