antonbol commited on
Commit
9163b5a
1 Parent(s): b22e202

added debug print

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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