File size: 327 Bytes
457194a baac6eb 457194a d85dcc4 457194a d85dcc4 457194a baac6eb |
1 2 3 4 5 6 7 8 9 10 |
import gradio as gr
import random as rd
with gr.Blocks() as myApp:
with gr.ROW():
with gr.Column(scale=1):
inp = gr.Radio (CHOICES=list(range(10)),lable= 'เลือก 1 หมายเลข'
with gr.Column(scale=1):
out= gr.textbox(lable='ผลลัพธ์')
myApp.launch() |