import gradio as gr def talk(text): return text demo = gr.Interface(fn=talk, inputs="text", outputs="label") demo.launch()