Spaces:
Running
Running
Replace categories
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from gradio_modal import Modal
|
|
| 8 |
from content import (HEADER_MARKDOWN, LEADERBOARD_TAB_TITLE_MARKDOWN, SUBMISSION_TAB_TITLE_MARKDOWN,
|
| 9 |
MODAL_SUBMIT_MARKDOWN,
|
| 10 |
SUBMISSION_DETAILS_MARKDOWN, RANKING_AFTER_SUBMISSION_MARKDOWN, MORE_DETAILS_MARKDOWN)
|
| 11 |
-
from server import LeaderboardServer
|
| 12 |
|
| 13 |
leaderboard_server = LeaderboardServer()
|
| 14 |
|
|
@@ -134,8 +134,6 @@ footer {visibility: hidden}
|
|
| 134 |
|
| 135 |
"""
|
| 136 |
|
| 137 |
-
categories = ['Czech Math Reasoning', 'General Reasoning', 'Historical', 'Knowledge', 'Language Modeling', 'NER', 'NLI', 'Sentiment', 'Summarization', 'Syntactical Reasoning', 'Topic Classification']
|
| 138 |
-
|
| 139 |
with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main):
|
| 140 |
with gr.Row():
|
| 141 |
with gr.Row():
|
|
|
|
| 8 |
from content import (HEADER_MARKDOWN, LEADERBOARD_TAB_TITLE_MARKDOWN, SUBMISSION_TAB_TITLE_MARKDOWN,
|
| 9 |
MODAL_SUBMIT_MARKDOWN,
|
| 10 |
SUBMISSION_DETAILS_MARKDOWN, RANKING_AFTER_SUBMISSION_MARKDOWN, MORE_DETAILS_MARKDOWN)
|
| 11 |
+
from server import LeaderboardServer, categories
|
| 12 |
|
| 13 |
leaderboard_server = LeaderboardServer()
|
| 14 |
|
|
|
|
| 134 |
|
| 135 |
"""
|
| 136 |
|
|
|
|
|
|
|
| 137 |
with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main):
|
| 138 |
with gr.Row():
|
| 139 |
with gr.Row():
|
server.py
CHANGED
|
@@ -18,6 +18,7 @@ REPO = f"{ORG}/LLM_benchmark_data"
|
|
| 18 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 19 |
TASKS_METADATA_PATH = "./tasks_metadata.json"
|
| 20 |
|
|
|
|
| 21 |
|
| 22 |
class LeaderboardServer:
|
| 23 |
def __init__(self):
|
|
|
|
| 18 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 19 |
TASKS_METADATA_PATH = "./tasks_metadata.json"
|
| 20 |
|
| 21 |
+
categories = ['Czech Math Reasoning', 'General Reasoning', 'Historical', 'Knowledge', 'Language Modeling', 'NER', 'NLI', 'Sentiment', 'Summarization', 'Syntactical Reasoning', 'Topic Classification']
|
| 22 |
|
| 23 |
class LeaderboardServer:
|
| 24 |
def __init__(self):
|