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