sonobit commited on
Commit
515ad80
·
1 Parent(s): d3f56d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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 หมายเลข')