Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
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)
|
|
|
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="Input message here! Label 1 means message is spam",
|
6 |
allow_flagging="never").launch(inbrowser=True)
|