import gradio as gr with gr.Blocks() as demo: txt1 = gr.Textbox(label="input1") txt2 = gr.Textbox(label="input2") example = gr.Examples([["a", "b"]], [txt1, txt2]) demo.launch(debug=True)