import gradio as gr def greet(name): return f"Hello, {name}!" app = gr.Interface( fn=greet, inputs=gr.Textbox(label="Enter your name"), outputs=gr.Textbox(label="Greeting"), title="Hello Name App" ) app.launch()