Spaces:
Sleeping
Sleeping
masakio0601
commited on
Commit
·
2e12b6b
1
Parent(s):
b45f9cf
added Radio
Browse files
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 |
-
|
|
|
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)
|