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