import gradio as gr import random as rd with gr.Blocks() as myApp: with gr.Row(): with gr.Column(scle=1): inp=gr.Redio(chices=list(ranga(10)),label="เลือก 1 หมายเลข") with gr.Column(sacle=1): out=gr.Texbox(label='ผลลัพธ์') myApp.launch()