File size: 328 Bytes
9d42450
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
import random as gd

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