#lesson81.py import gradio as gr def sentiment_analysis(text): return "Positive" if "good" in text.lower() else "Negative" iface = gr.Interface(fn=sentiment_analysis, inputs="text", outputs="text") iface.launch()