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