matsammut commited on
Commit
eba369c
·
verified ·
1 Parent(s): 15350d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def predict(age, workclass, education, marital_status, occupation, relationship,
16
  "age", "workclass", "education", "marital_status", "occupation",
17
  "relationship", "race", "gender", "capital_gain", "capital_loss",
18
  "hours_per_week", "native_country"]
19
- df = pd.DataFrame(features, columns=columns)
20
  fixed_features = cleaning_features(features)
21
  # prediction = model.predict(features)
22
  # prediction = 1
 
16
  "age", "workclass", "education", "marital_status", "occupation",
17
  "relationship", "race", "gender", "capital_gain", "capital_loss",
18
  "hours_per_week", "native_country"]
19
+ df = pd.DataFrame(index=features, columns=columns)
20
  fixed_features = cleaning_features(features)
21
  # prediction = model.predict(features)
22
  # prediction = 1