Spaces:
Running
Running
Fix predict function argument order
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ MODELS = [
|
|
66 |
NN := "NN Enron1 spam",
|
67 |
]
|
68 |
|
69 |
-
def predict(model, unbiased, intr_threshold
|
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:
|