masakio0601 commited on
Commit
2e12b6b
·
1 Parent(s): b45f9cf

 added Radio

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
3
  with gr.Blocks() as demo:
4
  txt1 = gr.Textbox(label="input1")
5
  txt2 = gr.Textbox(label="input2")
6
- example = gr.Examples([["a", "b"]], [txt1, txt2])
 
7
 
8
  demo.launch(debug=True)
 
3
  with gr.Blocks() as demo:
4
  txt1 = gr.Textbox(label="input1")
5
  txt2 = gr.Textbox(label="input2")
6
+ radio1 = gr.Radio(choices=["1", "2"], label="radio1")
7
+ example = gr.Examples([["a", "b", "1"]], [txt1, txt2, radio1])
8
 
9
  demo.launch(debug=True)