Update app.py
Browse files
app.py
CHANGED
|
@@ -13,10 +13,11 @@ def guess(num):
|
|
| 13 |
def answer():
|
| 14 |
return str(rand)
|
| 15 |
|
| 16 |
-
|
| 17 |
-
def newRand():
|
| 18 |
rand = rd.randint(0,9)
|
| 19 |
return ''
|
|
|
|
|
|
|
| 20 |
with gr.Row():
|
| 21 |
with gr.Column(scale=1):
|
| 22 |
inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
|
|
|
|
| 13 |
def answer():
|
| 14 |
return str(rand)
|
| 15 |
|
| 16 |
+
def newRand():
|
|
|
|
| 17 |
rand = rd.randint(0,9)
|
| 18 |
return ''
|
| 19 |
+
|
| 20 |
+
with gr.Blocks() as myApp:
|
| 21 |
with gr.Row():
|
| 22 |
with gr.Column(scale=1):
|
| 23 |
inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
|