ccm commited on
Commit
7c13ef8
·
1 Parent(s): 1c5bbca
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1379,7 +1379,7 @@ with gradio.Blocks() as demo:
1379
  true = gradio.Plot(label="True")
1380
 
1381
  btn1.click(fn=lambda: random.randint(1, 4999), inputs=[], outputs=num)
1382
- num.chnage(fn=performance, inputs=[num], outputs=[perf])
1383
  btn2.click(fn=simple_synthesis, inputs=[num], outputs=[pred, true])
1384
 
1385
  demo.launch()
 
1379
  true = gradio.Plot(label="True")
1380
 
1381
  btn1.click(fn=lambda: random.randint(1, 4999), inputs=[], outputs=num)
1382
+ num.change(fn=performance, inputs=[num], outputs=[perf])
1383
  btn2.click(fn=simple_synthesis, inputs=[num], outputs=[pred, true])
1384
 
1385
  demo.launch()