Spaces:
Sleeping
Sleeping
Create app.py
Browse files
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()
|