Spaces:
Running
Running
Fix examples argument order
Browse files
app.py
CHANGED
@@ -92,9 +92,9 @@ demo = gr.Interface(
|
|
92 |
title="Bayes or Spam?",
|
93 |
description="Choose your model, and predict if your email is a spam! 📨<br>COMING SOON: LLM models.",
|
94 |
examples=[
|
95 |
-
[BAYES,
|
96 |
-
[BAYES,
|
97 |
-
[BAYES, True, DEFAULT_INTR_THRESHOLD
|
98 |
],
|
99 |
article="This is a demo of the models in the [Bayes or Spam?](https://github.com/tbitai/bayes-or-spam) project.",
|
100 |
)
|
|
|
92 |
title="Bayes or Spam?",
|
93 |
description="Choose your model, and predict if your email is a spam! 📨<br>COMING SOON: LLM models.",
|
94 |
examples=[
|
95 |
+
[BAYES, "Enron actuals for June 26, 2000", False, DEFAULT_INTR_THRESHOLD],
|
96 |
+
[BAYES, nerissa_email := "Stop the aging clock\nNerissa", False, DEFAULT_INTR_THRESHOLD],
|
97 |
+
[BAYES, nerissa_email, True, DEFAULT_INTR_THRESHOLD],
|
98 |
],
|
99 |
article="This is a demo of the models in the [Bayes or Spam?](https://github.com/tbitai/bayes-or-spam) project.",
|
100 |
)
|