iSky commited on
Commit
9a81c5a
1 Parent(s): a8bd017

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,4 +1,9 @@
1
- import gradio as gr
 
 
 
 
 
2
  gr.Interface.load("huggingface/prithivida/grammar_error_correcter_v1",
3
  title="Spam detector",
4
  examples=[["Welcome back! How are you?"],["you won 1 million dollars! give 10000 dollars to gcash 090876356256 for claiming"]],
 
1
+ importngradio 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="Input message here! Label 1 means message is spam",
6
+ # allow_flagging="never").launch(inbrowser=True)import gradio as gr
7
  gr.Interface.load("huggingface/prithivida/grammar_error_correcter_v1",
8
  title="Spam detector",
9
  examples=[["Welcome back! How are you?"],["you won 1 million dollars! give 10000 dollars to gcash 090876356256 for claiming"]],