import gradio as gr gr.Interface.load("huggingface/mrm8488/bert-tiny-finetuned-sms-spam-detection", title="Spam detector", Examples=[["Welcome back! How are you?"],["you won 1 million dollars! give 10000 dollars to gcash 090876356256 for claiming"]] description="Label 1 means message is spam", allow_flagging="never").launch(inbrowser=True)