import gradio as gr def echo(msg): return msg gr.Interface(fn=echo, inputs="text", outputs="text").launch()