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