added debug print
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def titanic(pclass, name, sex, age, sibsp, parch, ticket, fare, cabin, embarked)
|
|
30 |
print(df_post)
|
31 |
for tuple in namechanges:
|
32 |
df_post[tuple[0]] = df_post[tuple[1]]
|
33 |
-
print(df_post)
|
34 |
# 'res' is a list of predictions returned as the label.
|
35 |
res = model.predict(df_post)[0]
|
36 |
# We add '[0]' to the result of the transformed 'res', because 'res' is a list, and we only want
|
|
|
30 |
print(df_post)
|
31 |
for tuple in namechanges:
|
32 |
df_post[tuple[0]] = df_post[tuple[1]]
|
33 |
+
# print(df_post)
|
34 |
# 'res' is a list of predictions returned as the label.
|
35 |
res = model.predict(df_post)[0]
|
36 |
# We add '[0]' to the result of the transformed 'res', because 'res' is a list, and we only want
|