evilfreelancer commited on
Commit
1970a9b
·
verified ·
1 Parent(s): c995135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -16,6 +16,20 @@ st.markdown("""
16
  The table shows the accuracy and performance of the models on the
17
  [rrr-benchmark](https://huggingface.co/datasets/evilfreelancer/rrr-benchmark) dataset.
18
  """)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
 
21
  # Function to sort model sizes numerically (e.g., 7b < 13b < 32b, etc.)
 
16
  The table shows the accuracy and performance of the models on the
17
  [rrr-benchmark](https://huggingface.co/datasets/evilfreelancer/rrr-benchmark) dataset.
18
  """)
19
+ st.markdown("""
20
+ <style>
21
+ .scrollable-table {
22
+ max-height: 600px;
23
+ overflow-y: auto;
24
+ overflow-x: auto;
25
+ border: 1px solid #ddd;
26
+ }
27
+ </style>
28
+ """, unsafe_allow_html=True)
29
+ st.markdown(
30
+ f'<div class="scrollable-table">{styled.to_html(escape=False)}</div>',
31
+ unsafe_allow_html=True
32
+ )
33
 
34
 
35
  # Function to sort model sizes numerically (e.g., 7b < 13b < 32b, etc.)