Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,13 +49,13 @@ df = pd.DataFrame(
|
|
49 |
|
50 |
response = client.predict(
|
51 |
df=df,
|
52 |
-
|
53 |
fantix.type.INCOME,
|
54 |
fantix.type.AGE,
|
55 |
fantix.type.MARITAL_SATUS,
|
56 |
fantix.type.EDUCATION,
|
57 |
],
|
58 |
-
|
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 |
"""
|