import gradio as gr gr.Interface( lambda x: f"Hello {x}", "text", "text" ).launch()