File size: 262 Bytes
0e0f501
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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()