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