Spaces:
Running
Running
listenbluesee
commited on
Commit
•
3a31364
1
Parent(s):
aaceabf
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,6 @@ with gr.Blocks() as myApp:
|
|
17 |
btn = gr.Button(value='เฉลย')
|
18 |
with gr.Column(scale=1):
|
19 |
out = gr.Textbox(label='ผลลัพธ์')
|
20 |
-
inp.
|
21 |
btn.click(fn=answer,outputs=out)
|
22 |
-
myApp.launch()
|
|
|
17 |
btn = gr.Button(value='เฉลย')
|
18 |
with gr.Column(scale=1):
|
19 |
out = gr.Textbox(label='ผลลัพธ์')
|
20 |
+
inp.change(guess,inp,out)
|
21 |
btn.click(fn=answer,outputs=out)
|
22 |
+
myApp.launch()
|