Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks() as demo:
|
|
54 |
with gr.Row():
|
55 |
check_button = gr.Button("Tra cứu!", variant="primary")
|
56 |
|
57 |
-
dfShow = gr.DataFrame(label="Điểm thi", col_count=(9, "fixed"))
|
58 |
out = gr.Textbox(label="Xếp hạng", placeholder="", lines=2)
|
59 |
|
60 |
check_button.click(fn=respond, inputs=[id,comb], outputs=[out,dfShow])
|
|
|
54 |
with gr.Row():
|
55 |
check_button = gr.Button("Tra cứu!", variant="primary")
|
56 |
|
57 |
+
dfShow = gr.DataFrame(label="Điểm thi", col_count=(9, "fixed"), row_count=(1, "fixed"))
|
58 |
out = gr.Textbox(label="Xếp hạng", placeholder="", lines=2)
|
59 |
|
60 |
check_button.click(fn=respond, inputs=[id,comb], outputs=[out,dfShow])
|