Thanyarat commited on
Commit
c93d35a
1 Parent(s): 8064482

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,10 +10,10 @@ def guess (num):
10
  return r
11
  with gr.Bloks() as myApp:
12
  with gr.Row():
13
- with gr.Column(scaia=1):
14
  inp = gr.Radio(choices=list (range (10)),label='เลือก 1 หมายเลข')
15
  with gr.Column (scale=1):
16
  out = gr. Textbox(label='ผลลัพธ์')
17
  inp.change(guess,inp,out)
18
- btn.click(fn=answer,outputs=out)
19
  myApp.launch()
 
10
  return r
11
  with gr.Bloks() as myApp:
12
  with gr.Row():
13
+ with gr.Column(scaia=1):
14
  inp = gr.Radio(choices=list (range (10)),label='เลือก 1 หมายเลข')
15
  with gr.Column (scale=1):
16
  out = gr. Textbox(label='ผลลัพธ์')
17
  inp.change(guess,inp,out)
18
+ btn.click(fn=answer,outputs=out)
19
  myApp.launch()