Anutida commited on
Commit
c10d95f
1 Parent(s): e93a33b

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import random as rd
3
+
4
+ with gr.Blocks() as myapp:
5
+ with gr.Row():
6
+ with gr.Column(scale=1):
7
+ inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
8
+ with gr.Column(scale=1):
9
+ out = gr.Textbox(label='ผลลัพธ์')
10
+ myApp.launch()
11
+
12
+