spam-detector / app.py
iSky's picture
Update app.py
a8bd017
raw
history blame
425 Bytes
import gradio as gr
gr.Interface.load("huggingface/prithivida/grammar_error_correcter_v1",
title="Spam detector",
examples=[["Welcome back! How are you?"],["you won 1 million dollars! give 10000 dollars to gcash 090876356256 for claiming"]],
description="Input message here! Label 1 means message is spam",
allow_flagging="never").launch(inbrowser=True)