Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
app/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (169 Bytes). View file
|
|
|
app/__pycache__/draw_diagram.cpython-310.pyc
ADDED
|
Binary file (7.89 kB). View file
|
|
|
app/__pycache__/pages.cpython-310.pyc
ADDED
|
Binary file (7.38 kB). View file
|
|
|
app/draw_diagram.py
CHANGED
|
@@ -3,7 +3,7 @@ import pandas as pd
|
|
| 3 |
import numpy as np
|
| 4 |
from streamlit_echarts import st_echarts
|
| 5 |
# from streamlit_echarts import JsCode
|
| 6 |
-
from streamlit_javascript import st_javascript
|
| 7 |
# from PIL import Image
|
| 8 |
|
| 9 |
# links_dic = {"random": "https://seaeval.github.io/",
|
|
@@ -77,10 +77,14 @@ def draw_cross_lingual(category_one, category_two, sort, sorted):
|
|
| 77 |
chart_data = pd.read_csv(data_path).dropna(axis='columns').round(3)
|
| 78 |
st.markdown("""
|
| 79 |
<style>
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
</style>
|
| 85 |
""", unsafe_allow_html=True)
|
| 86 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
@@ -338,17 +342,13 @@ def draw_only_acc(folder_name, category_one, category_two, sorted):
|
|
| 338 |
|
| 339 |
st.markdown("""
|
| 340 |
<style>
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
background-color: #f0f0f0; /* Change background color of selected options */
|
| 349 |
-
color: blue; /* Change text color of selected options */
|
| 350 |
-
}
|
| 351 |
-
|
| 352 |
</style>
|
| 353 |
""", unsafe_allow_html=True)
|
| 354 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
@@ -436,10 +436,14 @@ def draw_flores_translation(category_one, category_two, sorted):
|
|
| 436 |
chart_data = pd.read_csv(data_path).round(3)
|
| 437 |
st.markdown("""
|
| 438 |
<style>
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 443 |
</style>
|
| 444 |
""", unsafe_allow_html=True)
|
| 445 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
@@ -526,10 +530,13 @@ def draw_dialogue(category_one, category_two, sort, sorted):
|
|
| 526 |
|
| 527 |
st.markdown("""
|
| 528 |
<style>
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
|
|
|
|
|
|
|
|
|
|
| 533 |
</style>
|
| 534 |
""", unsafe_allow_html=True)
|
| 535 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
from streamlit_echarts import st_echarts
|
| 5 |
# from streamlit_echarts import JsCode
|
| 6 |
+
# from streamlit_javascript import st_javascript
|
| 7 |
# from PIL import Image
|
| 8 |
|
| 9 |
# links_dic = {"random": "https://seaeval.github.io/",
|
|
|
|
| 77 |
chart_data = pd.read_csv(data_path).dropna(axis='columns').round(3)
|
| 78 |
st.markdown("""
|
| 79 |
<style>
|
| 80 |
+
.stMultiSelect [data-baseweb=select] span {
|
| 81 |
+
max-width: 800px;
|
| 82 |
+
font-size: 0.9rem;
|
| 83 |
+
background-color: #3C6478 !important; /* Background color for selected items */
|
| 84 |
+
|
| 85 |
+
color: white; /* Change text color */
|
| 86 |
+
back
|
| 87 |
+
}
|
| 88 |
</style>
|
| 89 |
""", unsafe_allow_html=True)
|
| 90 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
|
|
| 342 |
|
| 343 |
st.markdown("""
|
| 344 |
<style>
|
| 345 |
+
.stMultiSelect [data-baseweb=select] span {
|
| 346 |
+
max-width: 800px;
|
| 347 |
+
font-size: 0.9rem;
|
| 348 |
+
background-color: #3C6478 !important; /* Background color for selected items */
|
| 349 |
+
color: white; /* Change text color */
|
| 350 |
+
back
|
| 351 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 352 |
</style>
|
| 353 |
""", unsafe_allow_html=True)
|
| 354 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
|
|
| 436 |
chart_data = pd.read_csv(data_path).round(3)
|
| 437 |
st.markdown("""
|
| 438 |
<style>
|
| 439 |
+
.stMultiSelect [data-baseweb=select] span {
|
| 440 |
+
max-width: 800px;
|
| 441 |
+
font-size: 0.9rem;
|
| 442 |
+
background-color: #3C6478 !important; /* Background color for selected items */
|
| 443 |
+
color: white; /* Change text color */
|
| 444 |
+
back
|
| 445 |
+
}
|
| 446 |
+
|
| 447 |
</style>
|
| 448 |
""", unsafe_allow_html=True)
|
| 449 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|
|
|
|
| 530 |
|
| 531 |
st.markdown("""
|
| 532 |
<style>
|
| 533 |
+
.stMultiSelect [data-baseweb=select] span {
|
| 534 |
+
max-width: 800px;
|
| 535 |
+
font-size: 0.9rem;
|
| 536 |
+
background-color: #3C6478 !important; /* Background color for selected items */
|
| 537 |
+
color: white; /* Change text color */
|
| 538 |
+
back
|
| 539 |
+
}
|
| 540 |
</style>
|
| 541 |
""", unsafe_allow_html=True)
|
| 542 |
models = st.multiselect("Please choose the models", chart_data['Model'].tolist(), default = chart_data['Model'].tolist())
|