import gradio as gr def hello(name): return f"Hallo, {name}!" gr.Interface(fn=hello, inputs="text", outputs="text").launch()