iSky commited on
Commit
a958a3e
·
1 Parent(s): 184f8f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  gr.Interface.load("huggingface/mrm8488/bert-tiny-finetuned-sms-spam-detection",
3
  title="Spam detector",
 
4
  description="Label 1 means message is spam",
5
  allow_flagging="never").launch(inbrowser=True)
 
1
  import gradio as gr
2
  gr.Interface.load("huggingface/mrm8488/bert-tiny-finetuned-sms-spam-detection",
3
  title="Spam detector",
4
+ Examples=[["Welcome back! How are you?"],["you won 1 million dollars! give 10000 dollars to gcash 090876356256 for claiming"]]
5
  description="Label 1 means message is spam",
6
  allow_flagging="never").launch(inbrowser=True)