import gradio as gr def predict(x): return x iface = gr.Interface(fn=predict, inputs='text', outputs='text') iface.launch()