Spaces:
Runtime error
Runtime error
InHanJiang
commited on
Commit
•
981fef3
1
Parent(s):
12e0f7e
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
|
|
2 |
import random as rd
|
3 |
|
4 |
with gr.Blocks() as myApp:
|
5 |
-
|
6 |
-
with gr.
|
7 |
inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
|
8 |
-
with gr.
|
9 |
out = gr.Textbox(label='ผลลัพธ์')
|
10 |
myApp.launch()
|
|
|
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='เลือก 1 หมายเลข')
|
8 |
+
with gr.Column(scale=1):
|
9 |
out = gr.Textbox(label='ผลลัพธ์')
|
10 |
myApp.launch()
|