yurakuratov commited on
Commit
d3e6b02
·
1 Parent(s): b54190c

adjuct table width

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,7 +17,7 @@ def draw_leaderboard():
17
  st.markdown(PAGE_INFO)
18
  st.subheader("Evaluation results:")
19
  st.text('Each tab corresponds to a task, avg - averaged scores over qa1-5 tasks.')
20
- st.markdown('All models predictions: [BABILong evals](https://huggingface.co/datasets/RMT-team/babilong_evals)')
21
  search_term = st.text_input("Search models:", "")
22
 
23
  tabs = st.tabs([str(task) for task in tasks])
@@ -32,11 +32,11 @@ def draw_leaderboard():
32
  row_height = 35
33
  height = (len(task_df) + 1) * row_height
34
 
35
- styled = style_dataframe(task_df).format(precision=2)
36
 
37
  st.dataframe(
38
  styled,
39
- use_container_width=True,
40
  height=height,
41
  )
42
 
 
17
  st.markdown(PAGE_INFO)
18
  st.subheader("Evaluation results:")
19
  st.text('Each tab corresponds to a task, avg - averaged scores over qa1-5 tasks.')
20
+ st.markdown('Predictions of all evaluated models: [BABILong evals](https://huggingface.co/datasets/RMT-team/babilong_evals)')
21
  search_term = st.text_input("Search models:", "")
22
 
23
  tabs = st.tabs([str(task) for task in tasks])
 
32
  row_height = 35
33
  height = (len(task_df) + 1) * row_height
34
 
35
+ styled = style_dataframe(task_df).format(precision=1)
36
 
37
  st.dataframe(
38
  styled,
39
+ width=1030,
40
  height=height,
41
  )
42