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() | |