File size: 273 Bytes
b45f9cf
 
 
 
 
2e12b6b
 
b45f9cf
 
1
2
3
4
5
6
7
8
9
10
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)