Spaces:
Runtime error
Runtime error
Sasimon8987
commited on
Commit
•
8553f46
1
Parent(s):
fc7bb48
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import random as rd
|
3 |
+
|
4 |
+
with gr.Blocks() as myApp:
|
5 |
+
with gr.Row():
|
6 |
+
with gr.Column(scale=1):
|
7 |
+
inp=gr.Radio(choices=list(range(10)),label='เลือกตัวเลข')
|
8 |
+
with gr.Column(scale=1):
|
9 |
+
out=gr.Textbox(label='ผลลัพธ์')
|
10 |
+
myApp.launch()
|