ngocminhta commited on
Commit
19f29a8
·
verified ·
1 Parent(s): 8473d93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,10 +55,10 @@ with gr.Blocks() as demo:
55
  with gr.Row():
56
  check_button = gr.Button("Tra cứu!", variant="primary")
57
 
58
- df = gr.DataFrame(label="Điểm thi", col_count=(9, "fixed"))
59
  out = gr.Textbox(label="Xếp hạng", placeholder="", lines=2)
60
 
61
- check_button.click(fn=respond, inputs=[id,comb], outputs=[out,df])
62
 
63
  if __name__ == "__main__":
64
  demo.launch()
 
55
  with gr.Row():
56
  check_button = gr.Button("Tra cứu!", variant="primary")
57
 
58
+ dfShow = gr.DataFrame(label="Điểm thi", col_count=(9, "fixed"))
59
  out = gr.Textbox(label="Xếp hạng", placeholder="", lines=2)
60
 
61
+ check_button.click(fn=respond, inputs=[id,comb], outputs=[out,dfShow])
62
 
63
  if __name__ == "__main__":
64
  demo.launch()