tbitai commited on
Commit
80b487d
1 Parent(s): d1a418a

Fix examples argument order

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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, False, DEFAULT_INTR_THRESHOLD, "Enron actuals for June 26, 2000"],
96
- [BAYES, False, DEFAULT_INTR_THRESHOLD, nerissa_email := "Stop the aging clock\nNerissa"],
97
- [BAYES, True, DEFAULT_INTR_THRESHOLD, nerissa_email],
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
  )