abidlabs HF Staff commited on
Commit
0e0f501
·
1 Parent(s): c48668b

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
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()