File size: 326 Bytes
ce813f4
 
 
 
 
9f9b9fb
ad317f4
9f9b9fb
ad317f4
ce813f4
1
2
3
4
5
6
7
8
9
10
import gradio as gr
import random as rd

with gr.Blocks()as myApp:
    with gr.Row():
        with gr.Column(scale=1):
            inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
        with gr.Column(scale=1):
            out = gr.Textbox(label='ผลลัพธ์')
myApp.launch()