Spaces:
Runtime error
Runtime error
Commit
•
00f3e61
1
Parent(s):
6ccb1f6
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import random as rd
|
3 |
+
with gr.Blocks() as myApp:
|
4 |
+
with gr.Row():
|
5 |
+
with gr.Column(sacle=1):
|
6 |
+
inp=gr.Redio(chices=list(ranga(10)),label="เลือก 1 หมายเลข")
|
7 |
+
with gr.Column(sacle=1):
|
8 |
+
out=gr.Texbox(label='ผลลัพธ์)
|
9 |
+
myApp.launch()
|