tbitai commited on
Commit
d1a418a
1 Parent(s): 5f92565

Fix predict function argument order

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ MODELS = [
66
  NN := "NN Enron1 spam",
67
  ]
68
 
69
- def predict(model, unbiased, intr_threshold, input_txt):
70
  if model == BAYES:
71
  return predict_bayes(input_txt, unbiased=unbiased, intr_threshold=intr_threshold)
72
  elif model == NN:
 
66
  NN := "NN Enron1 spam",
67
  ]
68
 
69
+ def predict(model, input_txt, unbiased, intr_threshold):
70
  if model == BAYES:
71
  return predict_bayes(input_txt, unbiased=unbiased, intr_threshold=intr_threshold)
72
  elif model == NN: