import gradio as gr def send_notification(name, amc_date): return f"Hello {name}, your AMC is due on {amc_date}. Please renew to avoid service interruption." with gr.Blocks() as demo: gr.Markdown(""" # 🔔 AMC Notification Engine 🎯 **Business Objectives** - 🔧 Reduce unplanned equipment failure by 40% - 🔄 Improve AMC renewals via proactive reminders - 🗂️ Enable centralized notification across all devices """) with gr.Row(): name = gr.Textbox(label="Customer Name", placeholder="Enter customer name") amc_date = gr.Textbox(label="AMC Due Date", placeholder="YYYY-MM-DD") notify_btn = gr.Button("Send Notification") output = gr.Textbox(label="Notification Message") notify_btn.click(send_notification, inputs=[name, amc_date], outputs=output) demo.launch()