6d870ea
6b9e57d
b276e65
b5ba3e5 |
|
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)),label='เลือก1หมายเลข')
with gr.Column(scale=1):
out = gr.Textbox(label='ผลลัพธ์')
myApp.launch()
|