cnp-ai commited on
Commit
d61bf9b
·
verified ·
1 Parent(s): bc96a89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -16
app.py CHANGED
@@ -344,22 +344,27 @@ with gr.Blocks(css=css) as demo:
344
  with gr.Row():
345
  kpi_checkbox = gr.CheckboxGroup(choices=[], interactive=True, elem_classes="v_check", container=False, min_width=5, scale=1)
346
 
347
-
348
- kpi_table1 = gr.Dataframe(
349
- scale=33, value=[], show_label=False, max_height=650,
350
- column_widths=[80, 180, 160, 70],
351
- datatype=["str", "str", "str", "str"]
352
- )
353
- kpi_table2 = gr.Dataframe(
354
- scale=33, value=[], show_label=False, max_height=650,
355
- column_widths=[80, 180, 160, 70],
356
- datatype=["str", "str", "str", "str"]
357
- )
358
- kpi_table3 = gr.Dataframe(
359
- scale=33, value=[], show_label=False, max_height=650,
360
- column_widths=[80, 180, 160, 70],
361
- datatype=["str", "str", "str", "str"]
362
- )
 
 
 
 
 
363
 
364
  with gr.Row():
365
  gr.Column(scale=2)
 
344
  with gr.Row():
345
  kpi_checkbox = gr.CheckboxGroup(choices=[], interactive=True, elem_classes="v_check", container=False, min_width=5, scale=1)
346
 
347
+ with gr.Group():
348
+ gr.Markdown("BGE")
349
+ kpi_table1 = gr.Dataframe(
350
+ scale=33, value=[], show_label=False, max_height=650,
351
+ column_widths=[80, 180, 160, 70],
352
+ datatype=["str", "str", "str", "str"]
353
+ )
354
+ with gr.Group():
355
+ gr.Markdown("SBERT-snunlp")
356
+ kpi_table2 = gr.Dataframe(
357
+ scale=33, value=[], show_label=False, max_height=650,
358
+ column_widths=[80, 180, 160, 70],
359
+ datatype=["str", "str", "str", "str"]
360
+ )
361
+ with gr.Group():
362
+ gr.Markdown("SBERT-jhgan")
363
+ kpi_table3 = gr.Dataframe(
364
+ scale=33, value=[], show_label=False, max_height=650,
365
+ column_widths=[80, 180, 160, 70],
366
+ datatype=["str", "str", "str", "str"]
367
+ )
368
 
369
  with gr.Row():
370
  gr.Column(scale=2)