Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
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"]],
|