Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def answer():
|
|
13 |
with gr.Blocks() as myApp:
|
14 |
with gr.Row():
|
15 |
with gr.Column(scale=1):
|
16 |
-
inp = gr.Radio(
|
17 |
btn = gr.Button(value='เฉลย')
|
18 |
with gr.Column(scale=1):
|
19 |
out = gr.Textbox(label='ผลลัพธ์')
|
|
|
13 |
with gr.Blocks() as myApp:
|
14 |
with gr.Row():
|
15 |
with gr.Column(scale=1):
|
16 |
+
inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
|
17 |
btn = gr.Button(value='เฉลย')
|
18 |
with gr.Column(scale=1):
|
19 |
out = gr.Textbox(label='ผลลัพธ์')
|