fbellomo commited on
Commit
5e62137
·
verified ·
1 Parent(s): 8747114

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,13 +49,13 @@ df = pd.DataFrame(
49
 
50
  response = client.predict(
51
  df=df,
52
- attributes=[
53
  fantix.type.INCOME,
54
  fantix.type.AGE,
55
  fantix.type.MARITAL_SATUS,
56
  fantix.type.EDUCATION,
57
  ],
58
- prediction_columns=[{attributes_with_types}],
59
  model_version='{model_version},
60
  )
61
  """
 
49
 
50
  response = client.predict(
51
  df=df,
52
+ columns=[
53
  fantix.type.INCOME,
54
  fantix.type.AGE,
55
  fantix.type.MARITAL_SATUS,
56
  fantix.type.EDUCATION,
57
  ],
58
+ attribute_to_predict=[{attributes_with_types}],
59
  model_version='{model_version},
60
  )
61
  """