sonobit commited on
Commit
7f6ae7d
·
1 Parent(s): 5036ffb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,10 +13,11 @@ def guess(num):
13
  def answer():
14
  return str(rand)
15
 
16
- with gr.Blocks() as myApp:
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 หมายเลข')