import gradio as gr def infer(text): return text gr.Interface(fn=infer,inputs=[gr.Textbox()], outputs=[gr.Textbox()]).launch()