import gradio as gr with gr.Blocks() as demo: def f(x): return x t = gr.Textbox() t2 = gr.Textbox() t.change(f, t, t2) e = gr.Examples(["hello"], t, t2, f) demo.launch()