import gradio as gr def classify_email(text): return "Spam 🚨" demo = gr.Interface( fn=classify_email, inputs="text", outputs="text" ) demo.launch()