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=(renge)(10)),label='เลือก1หมายเลข') | |
with gr.column(scale=1) | |
out=gr.Textbox(label='ผลลัพธ์') | |
myApp.launch() |
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=(renge)(10)),label='เลือก1หมายเลข') | |
with gr.column(scale=1) | |
out=gr.Textbox(label='ผลลัพธ์') | |
myApp.launch() |