Petcharat commited on
Commit
1631332
·
1 Parent(s): 32f2e67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -15,8 +15,8 @@ with gr.Blocks() as myApp:
15
  with gr.Column(scale=1):
16
  inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
17
  btn = gr.Button(value="เฉลย")
18
- with gr.Column(scole=1):
19
- out = gr.Textbox(label='ผลลัพธ์')
20
- inp.change(guess,inp,out)
21
- btn.click(fn=answer,output=out)
22
  myApp.launch()
 
15
  with gr.Column(scale=1):
16
  inp = gr.Radio(choices=list(range(10)),label='เลือก 1 หมายเลข')
17
  btn = gr.Button(value="เฉลย")
18
+ with gr.Column(scole=1):
19
+ out = gr.Textbox(label='ผลลัพธ์')
20
+ inp.change(guess,inp,out)
21
+ btn.click(fn=answer,outputs=out)
22
  myApp.launch()