Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Apply isort to app.py
Browse files
app.py
CHANGED
@@ -4,13 +4,13 @@ from apscheduler.schedulers.background import BackgroundScheduler
|
|
4 |
from huggingface_hub import snapshot_download
|
5 |
|
6 |
from src.about import (
|
|
|
7 |
CITATION_BUTTON_LABEL,
|
8 |
CITATION_BUTTON_TEXT,
|
9 |
EVALUATION_QUEUE_TEXT,
|
10 |
INTRODUCTION_TEXT,
|
11 |
LLM_BENCHMARKS_TEXT,
|
12 |
TITLE,
|
13 |
-
BOTTOM_LOGO,
|
14 |
)
|
15 |
from src.display.css_html_js import custom_css
|
16 |
from src.display.utils import (
|
@@ -18,15 +18,15 @@ from src.display.utils import (
|
|
18 |
COLS,
|
19 |
EVAL_COLS,
|
20 |
EVAL_TYPES,
|
|
|
|
|
|
|
21 |
AutoEvalColumn,
|
22 |
ModelType,
|
23 |
-
fields,
|
24 |
-
WeightType,
|
25 |
-
Precision,
|
26 |
-
AddSpecialTokens,
|
27 |
NumFewShots,
|
28 |
-
|
29 |
-
|
|
|
30 |
)
|
31 |
from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
|
32 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
|
|
4 |
from huggingface_hub import snapshot_download
|
5 |
|
6 |
from src.about import (
|
7 |
+
BOTTOM_LOGO,
|
8 |
CITATION_BUTTON_LABEL,
|
9 |
CITATION_BUTTON_TEXT,
|
10 |
EVALUATION_QUEUE_TEXT,
|
11 |
INTRODUCTION_TEXT,
|
12 |
LLM_BENCHMARKS_TEXT,
|
13 |
TITLE,
|
|
|
14 |
)
|
15 |
from src.display.css_html_js import custom_css
|
16 |
from src.display.utils import (
|
|
|
18 |
COLS,
|
19 |
EVAL_COLS,
|
20 |
EVAL_TYPES,
|
21 |
+
NUMERIC_INTERVALS,
|
22 |
+
TYPES,
|
23 |
+
AddSpecialTokens,
|
24 |
AutoEvalColumn,
|
25 |
ModelType,
|
|
|
|
|
|
|
|
|
26 |
NumFewShots,
|
27 |
+
Precision,
|
28 |
+
WeightType,
|
29 |
+
fields,
|
30 |
)
|
31 |
from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
|
32 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|