Shiyu Zhao commited on
Commit
c94169d
·
1 Parent(s): f9fbc42

Update space

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -101,6 +101,20 @@ def update_tables(selected_types):
101
 
102
  return outputs
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  with gr.Blocks(css=css) as demo:
105
  gr.Markdown("# Semi-structured Retrieval Benchmark (STaRK) Leaderboard")
106
  gr.Markdown("Refer to the [STaRK paper](https://arxiv.org/pdf/2404.13207) for details on metrics, tasks and models.")
 
101
 
102
  return outputs
103
 
104
+ css = """
105
+ table > thead {
106
+ white-space: normal
107
+ }
108
+
109
+ table {
110
+ --cell-width-1: 250px
111
+ }
112
+
113
+ table > tbody > tr > td:nth-child(2) > div {
114
+ overflow-x: auto
115
+ }
116
+ """
117
+
118
  with gr.Blocks(css=css) as demo:
119
  gr.Markdown("# Semi-structured Retrieval Benchmark (STaRK) Leaderboard")
120
  gr.Markdown("Refer to the [STaRK paper](https://arxiv.org/pdf/2404.13207) for details on metrics, tasks and models.")